Skip to main content

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​

InputTypeRequiredDefaultWhat it is
QueueStringYesQueue name.
Item IDStringYesItem id.
DataDictionaryNoFields to change; other fields keep their values unless replace_data is on.
Replace dataBooleanNofalseReplace all fields with data instead of merging.
StatusStringNounchangedreprocess: back to new so it is taken again (attempts restart); on_hold: put aside until on_hold_until, or until changed again.
On hold untilDateTimeNoWhen an on-hold item becomes available again (UTC); held indefinitely when empty.
ResultDictionaryNoResult fields to keep with the item.

Outputs​

OutputTypeWhat it is
statusStringThe item's status after the change.