Read and Review Automation Anywhere Documentation

Automation 360

Close Contents

Contents

Open Contents

Run bot with queue

  • Updated: 2022/06/23
    • Automation 360 v.x
    • Manage
    • RPA Workspace

Run bot with queue

Collectively process all work items of a queue across all the Bot Runners present in one or more device pools.

Prerequisites

To run a bot with queue, ensure that you are allocated a combination of any or all of the following roles and permissions:

Feature type Privileges
User roles
  • AAE_Admin
  • AAE_Queue_Admin
  • AAE_Pool_Admin
Activity permissions
  • View my in progress activity
  • View my scheduled bots
  • Schedule my bots to run
  • View and manage all scheduled activity from my folders
Device permissions
  • View and manage my Bot Creator, Bot Runner, and device pools
  • Create device pools
  • Administer all device pools
Bots permissions
  • View my bots
  • Run my bots
Workload permissions
  • View and manage my queues
  • Create queues
  • Administer all queues
To Run bot with queue, note the following:
  • You can run bots only on unattended Bot Runners. You cannot run bots on attended Bot Runners from the Control Room.
  • The bots have to be checked in to the public folder in order for the bots to qualify to be run with queue.
  • Work item sorting is done on the batch added to the queue. For example, if you add 2 batches of work items a, c, b and a, c, b to be sorted by name, the work items will be processed for queuing as a, b, c and a, b, c.
  • If you use the same device pool for inserting and processing work items for the same queue, you will see duplicate entries in the In-progress activity and Historical page. To resolve this issue, use one device pool to insert work items and a different device pool to process work items in a queue.

Procedure

Use the Run a bot with queue option from any of the following pages:

  1. Activity > In progress
  2. Manage > Scheduled
  3. Manage > Devices
  4. Manage > Device pools
  5. Manage > Queues
The procedure for running a bot with a queue is the same in all these pages.

  1. Select the bot to run with queue.
    • Latest version: Click Latest version tab to select the latest version of the bot.
    • Labeled version: Click Production version tab to select the labeled version of the bot.
    Available bots are displayed along with any Input values and dependencies. If the production label option is selected for the parent bot, the corresponding dependent bots with the production label are also automatically selected. If any of the dependent bots do not have the production label applied, the latest version of the bot is selected.
  2. Optional: Select Run with administrative privileges if the bot has actions that require administrative privileges to run.
  3. Select a queue with which to run the bot.
    Note: Ensure the following to see the list of available queues:
    • You do not have the AAE_Admin role
    • Your role is added to Queue > Consumers
    • The bot and queue work item templates are identical
  4. Select the Bot Runner user from the Available bot runners list.
    To enable a device, it must be connected to the Control Room.
    Note: If a device does not appear in the list, ensure the user running the bots is assigned a role that provides access to the appropriate Run-As Users.
  5. Optional: Select the option to run on bot running devices.
    If you want to select Bot Runners that are mapped one-on-one with their default (single-user) devices, select the Run on bot running devices option. This option enables the Work Items to be deployed only to the user's default device, whereby the security policy does not allow a user to log in to any other device or when applications for automation are installed on the default device.

    If you select this option, ensure that all the default devices are part of the same device pool when you select from the Device Pool tab.

    Tip: Do not select this option if the run as users (Bot Runners) are configured to use multiple devices. In that configuration, if any device in the pool is processing an automation, the run as user can log in to another device, and the work items will be processed on that device. This enables optimal utilization of licenses (run as user) and devices.

    For information on scenarios for choosing bot running devices for run as users, see Considerations for running a bot.

  6. Select Device pools.
    Select the pool from the list of available device pools.
  7. Optional: Click the up or down arrow to set the selected device pools in preferred order.
    When a bot is deployed, the Control Room selects the first available device based on the order in which you organized the device pools. If none of the devices are available at the time of deployment, the bot is queued.
  8. Select the Automation priority from the General tab.
    Set the priority to high, medium, or low based on your requirements for resource optimization. The default permission is set to medium.
  9. Click Run bot with queue.
Send Feedback