Read and Review Automation Anywhere Documentation

Automation 360

Close Contents

Contents

Open Contents

Using the Run action

  • Updated: 6/10/2021
    • Automation 360 v.x
    • Explore
    • RPA Workspace

Using the Run action

The Run action from the TaskBot package enables you to run one or more child bots. Configure the action to run the child bots repeatedly or with a delay, and to pass and retrieve values.

Procedure

  1. In the Actions palette, double-click or drag the Run action from the Task Bot package.
  2. In the Task Bot to run field, select the child bot:
    OptionDescription
    Current Task Bot Runs the current bot recursively.
    Control Room file Click Browse and select a bot from your private workspace.

    The system shows suggestions from the bots available in the private repository when you start typing the name of the bot you want to run. The location of the selected bot in the private repository is also displayed.

    Select a bot that you want to run:
    • Click the Browse tab if you want to select a bot from your private workspace.

      The location of the selected bot in the private repository is also displayed.

    • Click the Search tab if you want to search for a bot from the public workspace and your private workspace.

      Suggestions about the bots available in the public and private workspaces are displayed when you start typing the name of the bot you want to run. The location of the selected bot in the public and the private workspaces is also displayed.

    Variable Select from the following options:
    • File: Insert a file variable that contains a bot.
    • Control Room path: Enter an expression beginning with Bots that contains a string variable to specify the bot. For example Bots/$department$/PTOReport.
      Note:
      • The file path is case-sensitive.
      • The bot must be in the same workspace as the parent bot.
  3. In the Input values fields, enter the values or variables to pass to the child bot:
    1. Select an input variable to activate the text field.
    2. Enter a value of the required data type.
      The icon on the left-side of the text field indicates the data type.
    If you are configuring a bot with many input variables, use the Quick map option to automatically map variables that share the same name and data type. If the child bot contains variables for which there are no corresponding variables in the parent bot, the Quick map option creates new variables and maps them.
  4. Optional: Select the repetition.
  5. Optional: Select the Delay between repetitions option and enter the delay time in the Minutes and Seconds fields.
  6. Optional: Select the Upon error, start next repetition option.
    For alternative error-handling options, use actions from the Error handler package.

    Error handler package

  7. In the Save outcome to a variable field, select either the Multiple variables or Dictionary option:
    OptionDescription
    Multiple variables Click Add variable mapping to associate each dictionary key with a variable in the parent bot.

    Use this option if you do not want to use actions to extract the dictionary values.

    Dictionary Insert or create a dictionary variable to hold the output variables and values in key-value pairs.

    Each key in the dictionary is the variable name and corresponding value from the child bot.

  8. Click Save.
Send Feedback