Skip to main content

Long-running agents

8 commands. Toolkit id ooa.longrunning.

CommandWhat it does
Create callback URLMake 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 taskPut 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 delaySuspend 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 untilSuspend 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 callbackSuspend 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 jobSuspend 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 taskSuspend 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 itemSuspend until a work item in a work queue ends as success or failed (for example one this agent added for another agent to process).