Long-running agents
8 commands. Toolkit id ooa.longrunning.
| Command | What it does |
|---|---|
| Create callback URL | Make a one-time web address that another system calls (HTTP POST with a JSON body) when its work is done. Give the address to that system, then use Wait for callback. The address is shown here only once and works once; One CommandCenter keeps only a fingerprint of it. Needs the Public address in Settings. |
| Create task | Put an approval or a form in the Task inbox for people to do, then use Wait for task to suspend until it is done. Assign it to user:NAME or role:NAME (several separated by commas). |
| Resume after delay | Suspend the agent for a while, or until a date and time, without holding the runner; then carry on from this step. For short pauses use Delay instead. |
| Suspend until | Suspend the agent until something happens, then carry on from this step in a new run with the same values. The run shows as Suspended and its runner is free while it waits. Not inside a loop, a Parallel block, a Catch or a Finally; close browsers, workbooks and files first. |
| Wait for callback | Suspend until the callback URL made by Create callback URL is called; its JSON body comes back as Result. A call that came before this step is not lost. |
| Wait for job | Suspend until another run ends (success, failed or stopped). A run that is itself suspended is followed to the run that carries it on. |
| Wait for task | Suspend until a Task inbox task (an approval or a form, from Create task or a workflow) is completed or cancelled. The run's user must be allowed to see the task, or the task was made by this run. |
| 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). |