Using Run action
- Updated: 2021/08/12
Using Run action
Use the Run action to run an Enterprise 11 bot from Automation 360 in the Enterprise 11 Control Room.
Prerequisites
Ensure that the Enterprise 11 user credential that you want to use to run the Enterprise 11 bot includes the following:
- Access to the Enterprise 11 Bot Runner device on which you want to run the Enterprise 11 bots
- Run my bots and View my scheduled bots permissions
- The IP address of the Automation 360 Bot Runner device on which you want to run the Automation 360 bot is a static IP address
- The IP address is available in the callback URL of the Enterprise 11 Control Room
Procedure
- Double-click or drag the Run action from the V11 Task Bot node in the Actions palette.
- Provide the Enterprise 11 Control Room URL in which you want to run the bot.
-
Click the Credential tab to use a value from the Credential Vault and the Variable to use a
credential variable.
Alternatively, click the Insecure string tab to manually specify the value you want to use as the Username and Password to log in the Control Room you have specified.
- Specify the location of the bot you want to run in the Task relative path field.
- Optional:
Specify the device on which you want to run the bot in the
Bot Runner device name field.
You can specify multiple devices separated by a semicolon. Ensure that the names of the devices you have provided are the same as those on the My Devices page of the Enterprise 11 Control Room.
If you do not provide any value in the field, the system runs the bot on any connected devices (device for which the user specified in the Step 3).
- Select the Run bot runner session on Control Room check box to deploy the bot using the remote desktop process.
-
Select the Wait for task to complete check box if you want the system
to wait for the task to complete before performing the next action in the bot.
- Specify the period you want the system to wait before the bot is timed out in the Total wait time field.
- Select the version of the Control Room on which you want to run the bot.
-
11.3.2 or later (includes 11.3.3.x releases):
Click Advanced settings to expand and update the polling attributes.
Field Description Wait time before start polling the status Period (in seconds) you want the system to wait before it starts polling the status after the bot is deployed on the device. Polling interval for non-started execution Time interval at which you want the system to poll for status for the Enterprise 11 bot you have set to run but has not started execution. Polling interval for pending execution Time interval at which you want the system to poll for status for the bot that you have set to run and is pending execution. Polling interval for paused execution Time interval at which you want the system to poll for status for the bot that has started execution and is paused. Polling interval for in-progress execution Time interval at which you want the system to poll for status for the bot that has started execution and is currently in progress. Polling interval for unknown execution Time interval at which you want the system to poll for status for the bot that has started execution and the current status is unknown. -
11.3.4 or later:
- Select the Send callback status to A2019
option to specify a range for the TCP port that you want to use to
send the callback status to Automation 360.
Field Description From available TCP port Starting value in the range for the TCP port that you want to use to send the callback status. To available TCP port End value in the range for the TCP port that you want to use to send the callback status. Note: The IP address of the Automation 360 Bot Runner must be reachable from Enterprise 11 Control Room on the range for the TCP port you have provided. -
Select the Poll status from 11.x Control Room option. Click Advanced settings to update the polling status from the Enterprise 11 Control Room:
Field Description Wait time before start polling the status Period (in seconds) you want the system to wait before it starts polling the status after the bot is deployed on the device. Polling interval for non-started execution Time interval at which you want the system to poll for status for the Enterprise 11 bot you have set to run but has not started execution. Polling interval for pending execution Time interval at which you want the system to poll for status for the bot that you have set to run and is pending execution. Polling interval for paused execution Time interval at which you want the system to poll for status for the bot that has started execution and is paused. Polling interval for in-progress execution Time interval at which you want the system to poll for status for the bot that has started execution and is currently in progress. Polling interval for unknown execution Time interval at which you want the system to poll for status for the bot that has started execution and the current status is unknown.
- Select the Send callback status to A2019
option to specify a range for the TCP port that you want to use to
send the callback status to Automation 360.
-
Select the dictionary variable from the Input parameters
list that you want to use to pass input parameters for the bot.
The input variables that you want to pass for the bot are contained as keys in the dictionary variable with their corresponding values.
-
Select the dictionary variable that you want to use to store the output from the Assign
the output to list.
The dictionary variable stores the output parameters of the Enterprise 11 bot as keys.Additionally, the following keys are added in the dictionary variable by default:
Key Value COMMAND Name of the command that was last executed by the Enterprise 11 bot. STATUS Status of the Enterprise 11 bot execution. START_TIME Time when execution of the Enterprise 11 bot started. END_TIME Time when execution of the Enterprise 11 bot ended. AUTOMATION_NAME Name of the automation - Click Save.