Skip to main content

Each available work item

Take items one by one until the queue is empty; mark each completed or failed inside the loop.

Loop type in the Work queues toolkit · id ooa.workload/each_item · 4 inputs (1 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
QueueStringYesQueue name.
Maximum itemsNumberNo1000Stop after this many items.
StatusStringNonewWhich items to work (G6). new: new items, and deferred ones that are due. on_hold: items put on hold or deferred, due or not. data_error: failed items whose error was marked a business exception. failed: other failed items (system errors).
Fetch countNumberNo1How many items to take from the queue in one go (G6); each is marked in progress when taken. Items taken but not reached when the loop stops early stay in progress until unlocked.