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
To use the Send callback status to A2019 option, ensure the following:
  • 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

    Callback URLs for bot deployment

Procedure

  1. Double-click or drag the Run action from the V11 Task Bot node in the Actions palette.
  2. Provide the Enterprise 11 Control Room URL in which you want to run the bot.
  3. 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.
  4. Specify the location of the bot you want to run in the Task relative path field.
  5. 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).

  6. Select the Run bot runner session on Control Room check box to deploy the bot using the remote desktop process.
  7. 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.
    1. Specify the period you want the system to wait before the bot is timed out in the Total wait time field.
    2. 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.
  8. 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.
  9. 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
  10. Click Save.