Core
26 commands. Toolkit id core.
| Command | What it does |
|---|---|
| Assign several variables | Put values in several variables in one step, in order: a later value can use a variable set above it. |
| Assign variable | Put a value, or the result of a calculation, in a variable. |
| Child agent succeeded | Run another agent (its production version) and be true when it ends without an error, false when it fails. |
| Comment | A note in the steps for people reading the agent; it does nothing when the agent runs. |
| Continue loop | Skip the rest of this pass and start the next pass of the loop; name a loop to continue an outer one. |
| Delay | Wait a fixed time, or a random time between two values, before the next step. |
| Exit loop | Leave the loop now and carry on after it; name a loop to leave an outer one. |
| Exit subflow | Leave the subflow now; the agent carries on after the step that ran it (Finally steps still run). |
| Go to | Jump to a Label in the same list of steps or one around it. Kept for agents moved from other tools; a Loop, If or subflow is easier to follow. |
| If | Run the steps inside when the condition is true; otherwise try each Else if, then Else. |
| Label | A named place in the steps that Go to can jump to; it does nothing itself. |
| Log message | Write a message to the run log. |
| Loop | Repeat the steps inside: a number of times, while a condition holds, or once for each item, row, file, e-mail and so on. |
| Parallel | Run each step inside at the same time, and wait until all of them have finished. |
| Pause agent | Stop and wait until someone presses Resume in OneAgentStudio or One CommandCenter, or until the time limit. |
| Run Agent | Run another agent with the inputs you give it, and keep the outputs it gives back. |
| Run subflow | Run one of this agent's subflows (a named list of steps kept beside the main steps), then carry on; it shares the agent's variables. |
| Session is open | True when a session with this name is open in this run: a workbook, browser, database connection or any other toolkit's session. |
| State machine | Move between named states: each state runs its steps, then the first transition whose condition holds takes the agent to the next state, until a final state.and moves to the next state; the step ends in a final state. Fails with STATE.NO_TRANSITION when a state that is not final has no true transition. |
| Step | A named group of steps that keeps the agent tidy; it changes nothing when the agent runs. |
| Stop agent | End the agent now with the status you choose; Finally steps still run. |
| Switch | Compare one value with each case in turn and run the steps of the first case that matches; Default runs when none does. |
| Throw error | Raise an error with a code of your choice, for a Catch (or On error) to handle. |
| Try | Run the steps inside; if one fails, run the first Catch that takes the error, then always Finally. |
| Wait for condition | Wait until a condition is true, checking it again and again, up to a time limit. |
| Watch for interruptions | Run the steps inside while watching for interruptions such as a pop-up: when a handler's condition becomes true, its steps run and the agent carries on. |