QUEUE Add item to queue function

The QUEUE Add item to queue function in RPA.

Help CentreOrchestration

This article describes the RPA Queue functionality to add a work item to a queue.

For a full list of available functions, please read QUEUE functions.


Description

The Add item to queue function adds a single work item with data to a processing queue. The item is created with status "new" and waits to be picked up by a performer process. This is typically used in a dispatcher process that loads data and enqueues it for processing.


Setting it up

To use the Add item to queue function, follow these instructions:

{{popups:rpas/add:action=queue-add-item}}

Once on a process map:

  1. Navigate to the process where you would like to add the function
  2. Click on the green button’s drop-down (right side of the green button labelled “Process”)
  3. On the menu that appears, click on the “+ Activity” item
  4. From here you can select the QUEUE Add item to queue option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
Queue IDYesText-The ID of the queue, or a variable such as {queue_id}
ReferenceNoText-Optional unique reference for the item (e.g. invoice number)
PriorityNoSelectNormalItem priority: High (1), Normal (2), or Low (3)
VariableYesText-Variable to store the created item result
Data (JSON)NoTextarea-JSON data payload, e.g. {"name":"{name}","email":"{email}"}
Defer until dateNoDate-Do not process before this date
Due dateNoDate-SLA deadline date

Output variables

VariableTypeDescription
VariableObjectThe created queue item with id, status, priority, and other fields

Errors

  • Duplicate reference – if the queue enforces unique references and the reference already exists
  • Queue not found – if the queue ID is invalid

Tips

  • Use the Reference field to track items by a business identifier (e.g. invoice number, order ID)
  • Enable "Enforce unique references" on the queue to prevent duplicate processing
  • Use variables in the JSON data field, e.g. {"invoice":"{invoice_number}"}

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.