Skip to main content

Delete work items

Delete items by status, age, tags or ids. Only completed and failed items are deleted unless force is on (items in progress never are, unless forced).

Command in the Work queues toolkit · id ooa.workload/delete_items · 7 inputs (1 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
QueueStringYesQueue name.
StatusStringNofinishedfinished: completed and failed items; any: every status (needs force for the others).
Older than (hours)NumberNo0Only items last changed more than this many hours ago (0: any age).
TagsListNoOnly items that have all these tags.
Item IDsListNoOnly these items.
ForceBooleanNofalseAlso delete items that are new, deferred or in progress.
CentralBooleanNofalseUse the One CommandCenter queue with this name instead of the workspace's own file (runs started from One CommandCenter only).

Outputs​

OutputTypeWhat it is
countNumberItems deleted.