Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Queue connector methods

The Queue connector methods enable you to create and manage work items for queues in the RPA Hub.

Prerequisites

  1. Assign the bot process to the automation project by using the Assign bot process option from the Design tab of RPA Desktop Design Studio to access the work items. For more information, see Assign bot process to an automation project.
  2. Set the QueueName property by doing the following steps:
    1. In the RPA Desktop Design Studio, navigate to Toolbox > RPA Hub > Queue.
    2. Drag the Queue connector under Global Objects in the Project Explorer.
    3. Double-click the Queue connector.
    4. Under the Properties pane, in the QueueName property, enter the name of the Queue.

      Note: The name of the Queue must be the same as that defined in RPA Hub.

CreateJSONWorkItem

Creates a work item for the queue in the JSON format.

To create the key-value pairs in a JSON object, do the following actions:

  1. On the CreateJSONWorkItem method bar, click the method settings icon (
Image omitted: component-settings-icon.png
Method settings icon.\).
  1. Enter the criteria as given in the table.
FieldDescription
CONFIGURATION
INPUT FIELDS
TypeThe type of the work item. For example, for an accounting system queue, savings and current are types of accounts. To configure the input field, see Configure port properties.
StageUpdates the stage of the work item. Custom field to maintain different stages of the transaction.
SLAService Level Agreement \(SLA\) of the work item completion.
JSON PROPERTIES
JSON PATH NOTATIONS
NameKey-value pair \(JSON content\) for the request content. To add a key, do the following: 1. Click the add key icon \(
Image omitted: add-image-icon.png
Add key icon.\).
2. Enter the key name in the field. 3. To add more keys, repeat the previous steps. 4. To pass the value to these fields, see Configure port properties.
Sensitive

Sensitive content that is passed when the work item is created. Select this option as sensitive, then the data is encrypted and stored in the Sensitive Request Content field in the new work item in RPA Hub. For more information about the work item form, see Work item form in RPA Hub.

With this functionality, you can pass sensitive information through queues.

For example, if you want customer data to be encrypted in the queue, you must use the Sensitive field to store customer details such as credit card number, address, and so on.

  1. Click OK.

CreateStringWorkItem

Creates a work item in a queue in the RPA Hub by accepting a string.

To specify additional criteria for creating string work items, do the following steps.

  1. On the CreateStringWorkItem method bar, click the method settings icon (
Image omitted: component-settings-icon.png
Method settings icon.\).
  1. Enter the criteria as given in the table.
FieldDescription
INPUT FIELDS
SensitiveRequestContent

Stores sensitive content in encrypted format in the new work item. To configure the input field, see Configure port properties.

With this functionality, you can pass sensitive information through queues.

For example, if you want customer data to be encrypted in the queue, you must use the SensitiveRequestContent field to store customer details such as credit card number, address, and so on.

StageUpdates the stage of the work item. Custom field to maintain different stages of the transaction.
TypeThe type of the work item. For example, for an accounting system queue, savings and current are types of accounts. To configure the input field, see Configure port properties.
SLAService Level Agreement \(SLA\) of the work item completion.
  1. Click OK.

GetWorkItems

Returns the count and the details of the work items created under the queue based on the criteria you specify. The method provides a default criterion already but you can specify additional criteria.

To specify additional criteria for identifying and getting work items, do the following steps.

  1. Click the method settings icon (
Image omitted: component-settings-icon.png
Method settings icon\).
  1. Configure the filters, as required. No filter is mandatory.
FieldDescription
INPUT FILTERS
NameName of the work item. You can specify one of the following filters:- Equals: Name of the work item is exactly equal to the criteria you specify. - Contains: Name of the work item contains characters you specify. - StartsWith: The name of the work item starts with the characters you specify. - EndsWith: The name of the work item starts with the characters you specify.
TypeType of the work item in string format. You can specify one of the following filters:- Equals: Type of the work item is exactly equal to the criteria you specify. - Contains: Type of the work item contains characters you specify. - StartsWith: The type of the work item starts with the characters you specify. - EndsWith: The type of the work item starts with the characters you specify.
StatusStatus of the work item.
StageUpdates the stage of the work item. Custom field to maintain different stages of the transaction.
PriorityPriority of execution:- Critical - High - Medium - Low The assigned robot executes the bot process as per the defined priority in the work queue. The default priority is always High.
DateTypeDate type of the work item. If you provide inputs to this field, you must also provide inputs to the FromData and ToDate fields also.
FromDateIf the method is picking work items within a date range, starting date in the range.
ToDateIf the method is picking work items within a date range, ending date in the range.
OffsetNumber of work items that will be retrieved after the set limit. For example, if the limit is 20, the next picked work item starts from 21.
OUT FIELDS
OutRecordsReturns the details of the work items in an object form.
  1. Click OK.

    Note: A Data In port is created with each field you configure.

PickWorkItem

Enables a robot to pick a work item based on the given criteria. You can also configure additional criteria for the work item to be picked.

queryConditions included in the PickWorkItem component are considered for calculating the number of robots required to complete the work allocated, if the bot process is enabled with robot pool. For more information about calculating the number of robots, see Calculate the number of robots in RPA Hub. For more information about robot pool concepts, see Robot pool in RPA Hub.

To specify additional criteria for picking work items, do the following steps.

  1. Click the method settings icon (
Image omitted: component-settings-icon.png
Method settings icon\).
  1. Enter the criteria as given in the table.
FieldDescription
CONFIGURATION
INPUT FILTERS
NameName of the work item based on the following filters.- Equals: Name of the work item is exactly equal to the criteria you specify. - Contains: Name of the work item contains characters you specify. - StartsWith: The name of the work item starts with the characters you specify. - EndsWith: The name of the work item starts with the characters you specify. Selection exposes a Data In port.
TypeType of the work item based on the following filters. - Equals: Type of the work item is exactly equal to the criteria you specify. - Contains: Type of the work item contains characters you specify. - StartsWith: The type of the work item starts with the characters you specify. - EndsWith: The type of the work item starts with the characters you specify. Selection exposes a Data In port.
StageStage of the work item work item based on the following filters. - Equals: Stage of the work item is exactly equal to the criteria you specify. - Contains: Stage of the work item contains characters you specify. - StartsWith: Stage of the work item starts with the characters you specify. - EndsWith: Stage of the work item starts with the characters you specify. Selection exposes a Data In port.
StatusStatus of the work item for the robot to select.
OUT FIELDS
NameData out port that returns the name of the work item.
TypeData out port that returns the type of the work item.
RemarksData out port that returns remarks on the work item.
StageData out port that returns the stage of the work item.
RequestContentString content for the work item. Picks the stored content when the work item is created.
SensitiveRequestContentThe sensitive content from this field is picked, decrypted and passed to the RPA Desktop Design Studio or robots.
JSON PROPERTIES
JSON PATH NOTATIONS

Data out port that returns the JSON path notation of a work item.Click the add key icon (

Image omitted: add-image-icon.png
Add key icon.) to add a key name.</p>

JSON can be passed in both RequestContent and SensitiveRequestContent fields.

While picking work item, the JSON data is picked from a work item. For example, if a key-value pair "City: Mumbai" (City is key and Mumbai is value) is in the RequestContent field and "City: Delhi" (City is key and Delhi is value) is created in SensitiveRequestContent field. When you try to pick the same work item, since the key is same for both fields, the SensitiveRequestContent field is given precedence and that output is retrieved from this field.

  1. Click OK.

ReleaseWorkItem

Releases a work item that has been accepted and executed by a bot. You must execute PickWorkItem method before executing this method.

UpdateWorkItem

Enables a robot to update a work item after picking it with the PickWorkItem method based on specified criteria. You can configure additional criteria for the work item to be updated. You must execute PickWorkItem method before executing this method.

To specify additional criteria for updating work items, do the following steps.

  1. Click the method settings icon (
Image omitted: component-settings-icon.png
Method settings icon\).
  1. Enter the criteria as given in the table.
FieldDescription
CONFIGURATION
INPUT FIELDS
StageUpdates the stage of the work item. Custom field to maintain different stages of the transaction.
DeferredTillOption to specify a time duration during which the same work item will not be picked. For example, 5 minutes.
NameName of the work item.
TypeThe type of the work item. For example, for an accounting system queue, savings and current are types of accounts. To configure the input field, see Configure port properties.
RemarksSupporting remarks on the work item.
SLAService Level Agreement \(SLA\) of the work item completion.
ResponseContentString content for the work item. Updates the stored content of a work item.
SensitiveRequestContentUpdates the sensitive content of a work item.
JSON PROPERTIES
JSON PATH NOTATIONS
NameKey-value pair \(JSON content\) for the request content. To add a key, do the following: 1. Click the add key icon \(
Image omitted: add-image-icon.png
Add key icon.\).
2. Enter the key name in the field. 3. To add more keys, repeat the previous steps. 4. To pass the value to these fields, see Configure port properties.
Sensitive

Sensitive content is updated for a work item. With this functionality, you can pass sensitive information through queues.

For example, if you want customer data to be encrypted in the queue, you must use the Sensitive field to store customer details such as credit card number, address, and so on.

When you add a key-value pair "City: Mumbai" in SensitiveRequestContent field and add another key-value pair "Country: India" in JSON Path Notation and the UpdateWorkItem is executed. Then, in the SensitiveRequestContent field, the output is combined to "City: Mumbai" and "Country: India".

Parent Topic:Queue