Organize the steps into the execution order you want. The trigger step must always come first. In this example, use:
About this task
Trigger (Manual) → Task Agent → Approval → AAP Job Execution
In this workflow, the Approval step follows the Task Agent step to request human approval to the Agent suggestions. With the AAP Job Execution step following the approval, the agent recommendations are automatically applied during the AAP Job Execution step when the workflow runs.
Procedure
- Use one of the following methods to organize your execution path:
- Manually position steps by clicking and dragging them.
- Click the
icon (Auto-Arrange) in the lower-left toolbar to automatically organize your workflow layout into a logical flow. When you save the layout, the changes persist globally across all user sessions.
- Optional: To create parallel branches, draw edges from the output connector from one step to multiple downstream steps.
The downstream steps run concurrently.
- Connect your steps by dragging from an output connector (the small + on the right side) to another step input connector (left side).
Each connection represents the flow of execution and data between the steps.
Note:
You can optionally add logic steps to control the execution flow. Loop, Conditional, and Switch steps evaluate conditions before the workflow progresses to the next step. A Converge step waits for parallel branches to finish according to its join strategy before continuing. Join strategies include all branches or any N branches.
Some step types have labeled output handles for different paths:
- Conditional steps have True and False handles.
- Approval steps have Approved and Rejected handles.
- Loop steps have Loop body and Done handles.
- Switch steps can have as many handles as you want, with a minimum of 3 handles.
- Optional: Click the (</>) icon (code) in the options menu (⋮) to view the workflow definition as code.
- Click Save in the top toolbar to save your workflow. You can save at any point during the design process.
After saving, the builder canvas remains open. You can keep editing the workflow as needed.