Skip to main content

Mark failed

Record a failure. A system exception (the default) puts the item back for another attempt until max_attempts is reached; a business exception (the item itself is wrong) fails it at once, without retries.

Command in the Work queues toolkit · id ooa.workload/fail · 6 inputs (2 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
QueueStringYesQueue name.
Item IDStringYesItem id.
ErrorStringNoWhat went wrong (shown to operators).
Maximum attemptsNumberNo3Total attempts allowed (a central queue uses its own setting).
KindStringNosystemsystem: something around the item failed (a system was down), retried; business: the item breaks a business rule, not retried.
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
will_retryBooleanTrue when the item was put back for another attempt.