Queues

Queues manage the work that you want the worker to perform. Each work item is added to the queue in a list-like collection. When the worker is ready to perform a work item, the worker requests work from the remote agent. The remote agent sends queued work items to the worker. Once completed, the worker returns the finished work and asks the remote agent for more work.

The amount and type of work performed by the worker is set by the concurrency and plugins for the queue. The number of queues that can be added to the dedicated bot remote agent is determined by your license.

Concurrency

Concurrency defines the amount of work that a worker can process for the selected queue at one time. You should set the concurrency based on how much work your machine can process simultaneously.

You can set the concurrency by CPU or absolutely. By CPU scales the amount of work that the queue can perform by the number of processors on the machine on which the agent is installed. If the machine has two processors, and the concurrency is set to two by CPU, then the worker processes no more than four work items in total for that queue at one time. Absolute means you want to perform a specified amount of work no matter the number of processors on the machine on which the agent is installed. If the concurrency is set to two work items, then the worker processes no more than two work items in total for that queue at one time.

Plugins

Plugins allow workers to perform work of the type specified by the plugin. A data query plugin, for example, can perform data query work items. The queues in the remote agent can only perform the types of work specified by the selected plugins.

Setting up a Queue

  1. Navigate to Integrations from the Process Automation overview page.
  2. Select Remote Agents from the left menu.
  3. Select the remote agent you want to add a queue to or create a new remote agent.
  4. On the Queues tab, click Add queue.
  5. Type a name for the queue.
  6. Select one of the concurrency options, and enter a concurrency level.
  7. Select one or more plugins.
  8. Note: To remove a plugin from a queue, select the checkbox to the left of the plugin name and click Remove Plugin at the bottom.

  9. Click Save.

Setting up the Dedicated Remote Agent Bot

  1. Navigate to Integrations from the Process Automation overview page.
  2. Select Remote Agents from the left menu.
  3. Open the Dedicated Remote Agent Bot.
  4. Use the Workers tab to configure workers for the agent.
  5. If there are no queues, click Add queue to create a queue.
  6. Type a name for the queue.
  7. Define capabilities for your queues. Capabilities let you tag queues for specific departments or according to specific attributes. On the bot manage page, you can then configure bots to run only on queues that have specific capabilities. Click Add capabilities.
  8. Select one of the concurrency options, and enter a concurrency level.
  9. Assign workers to a queue. By assigning workers to a queue, you ensure that the queue has the resources it needs to run. If you select Use all workers, the queue will distribute work to any available workers. If you select, Use specified workers, you can add specific workers to dedicate them to this queue.
  10. If you are licensed to have multiple queues, you can add more queues by clicking Add queue.

Next Steps