Use the actions in Automation 360 to create a bot and
test the custom package.
Before you begin
Ensure you have the following to build the bot:
- Access to the Control Room.
- Credentials with AAE_Basic permission or with a custom
role to build a bot.
- Your workstation is a registered device in the Control Room.
- Your package MetricToImperial-1.0.0.jar is available in
the Control Room.
Procedure
-
Log in to the Control Room.
-
On the left pane, click Automation.
A list of available and forms is
displayed.
-
Click the Create a bot icon.
-
In the Name field, enter
MetricToImperialTest.
-
Click Create & Edit.
-
In the Actions pane, find Metric to Imperial and drag
Convert centimeters to inches into the bot flow.
-
In the CM to Convert field, enter
1.
-
Click Create variable (next to the
Output field) to create a new number
variable.
-
In Create Variable, enter
nInchesOutput and click Create
& Select.
-
Click Apply.
-
In the Actions pane, find the Number package and drag
the To String command below Convert
centimeters to inches.
-
In the Enter a number field, enter
F2 and select
nInchesOutput.
-
In the Enter number of digits after decimal
field, enter 5.
-
In the Assign the output to variable field,
select prompt-assignment - String from the
drop-down list.
-
Click Apply.
-
From the Actions pane, drag Message box, click
F2 and insert the prompt-assignment
variable.
-
In the Enter the message to display field, click
F2 and select the prompt-assignment
variable.
-
Click Apply and Save.
-
Click Run.
The bot displays the 0.39370 message,
which is a successful build.