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
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Queue | String | Yes | Queue name. | |
| Item ID | String | Yes | Item id. | |
| Error | String | No | What went wrong (shown to operators). | |
| Maximum attempts | Number | No | 3 | Total attempts allowed (a central queue uses its own setting). |
| Kind | String | No | system | system: something around the item failed (a system was down), retried; business: the item breaks a business rule, not retried. |
| Central | Boolean | No | false | Use the One CommandCenter queue with this name instead of the workspace's own file (runs started from One CommandCenter only). |
Outputs
| Output | Type | What it is |
|---|---|---|
| will_retry | Boolean | True when the item was put back for another attempt. |