Update work item
Change the fields of a work item and optionally send it back for processing or put it on hold (until a time or indefinitely).
Command in the Work queues toolkit · id ooa.workload/update_item · 7 inputs (2 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Queue | String | Yes | Queue name. | |
| Item ID | String | Yes | Item id. | |
| Data | Dictionary | No | Fields to change; other fields keep their values unless replace_data is on. | |
| Replace data | Boolean | No | false | Replace all fields with data instead of merging. |
| Status | String | No | unchanged | reprocess: back to new so it is taken again (attempts restart); on_hold: put aside until on_hold_until, or until changed again. |
| On hold until | DateTime | No | When an on-hold item becomes available again (UTC); held indefinitely when empty. | |
| Result | Dictionary | No | Result fields to keep with the item. |
Outputs
| Output | Type | What it is |
|---|---|---|
| status | String | The item's status after the change. |