- Get started
- Build
- Deploy and run
- Examples
- Reference
End
Configure the End node and its output, and see how it differs from Terminate, with examples.
Returns data as the output of the workflow without affecting other active branches. End fits when one branch of a parallel workflow returns a result while the other branches keep running.
How End differs from Terminate
Both End and Terminate stop the branch they are placed on. The difference is what happens to the rest of the workflow:
| Node | Effect on current branch | Effect on other branches |
|---|---|---|
| End | Stops and returns output | Other branches continue running |
| Terminate | Stops immediately | All other active branches are canceled |
End fits a workflow with parallel branches where one branch returns output while the others complete. Terminate fits when the entire workflow must stop immediately, regardless of what else is running.
Configuration
| Field | Required | Description |
|---|---|---|
| Output | No | The value to return as the workflow's output. Can be a literal value, a variable reference, or an expression. |
Output
The value configured in the Output field becomes the workflow's return value. No node after End can reference it, because End is a terminal node.
Examples
Return a success result from one branch while an audit branch completes:
In a workflow where one branch handles the primary response and another records an audit log, place an End node at the end of the primary response branch. The audit branch continues running independently.
Return an error result early:
On an error branch, use an End node to return a structured error object as the workflow output without canceling any other processing that may still be in progress.
Next steps
- Terminate: stopping the whole workflow immediately.
- Control flow: the nodes that branch, repeat, and rejoin paths.
- Merge: waiting for parallel branches.
- Community: ask questions and share workflows with other builders on the UiPath Forum.