This article describes the RPA Queue functionality to mark a queue item as successfully processed.
For a full list of available functions, please read QUEUE functions.
Description
The Mark item as complete function marks a queue item as "successful". This should be called after the item has been fully processed without errors. Optional output data can be attached to the item for auditing or downstream use.
Setting it up
To use the Mark item as complete function, follow these instructions:
{{popups:rpas/add:action=queue-complete}}
Once on a process map:
- Navigate to the process where you would like to add the function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the QUEUE Mark item as complete option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Item ID | Yes | Text | - | The queue item ID, or a variable such as {item_id} |
| Variable | Yes | Text | - | Variable to store the result |
| Output (JSON) | No | Textarea | - | Optional JSON output data, e.g. {"processed":true,"result":"{result}"} |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | Object | The updated queue item with status "successful" |
Errors
- Item not in progress – only items with status "inprogress" can be completed
- Item not found – if the item ID is invalid
Tips
- Always complete or fail an item after processing – never leave items in progress
- Use output data to record what was done, for audit trails