Wait for work item
Suspend until a work item in a work queue ends as success or failed (for example one this agent added for another agent to process).
Command in the Long-running agents toolkit · id ooa.longrunning/wait_for_item · 4 inputs (1 required), 3 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Item ID | String | Yes | The work item's id, from Add work item. | |
| Timeout (seconds) | Number | No | Stop waiting after this many seconds; wait as long as it takes when empty. | |
| On timeout | String | No | error | error: fail with LONGRUN.TIMEOUT; continue: carry on with Timed out true. |
| Pool | String | No | Carry on on any runner of this pool; on the same runner when empty. |