QUEUE Get queue statistics function

The QUEUE Get queue statistics function in RPA.

Help CentreOrchestration

This article describes the RPA Queue functionality to get statistics for a queue.

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


Description

The Get queue statistics function returns metrics for a queue: the count of items grouped by status (new, inprogress, successful, failed). This is useful for monitoring queue health, building dashboards, or making decisions based on queue state.


Setting it up

To use the Get queue statistics function, follow these instructions:

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

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 Get queue statistics 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}
VariableYesText-Variable to store the statistics

Output variables

VariableTypeDescription
VariableArrayArray of {status, count} records showing item counts per status

Tips

  • Use this to check if a queue has pending items before starting a performer process
  • Monitor queue health by checking the ratio of successful to failed items

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.