- Introduction
- Getting started
- Build on any canvas
- Build with Case
- Reference
- Defining case keys (system vs. external)
- Establishing task I/O and write-back contracts
- Modeling primary and secondary stages
- Triggering a case from Data Fabric
- Implementing stage-level personas and permissions
- Setting SLAs and automated escalation rules
- Configuring a rework loop (re-entry)
- Configuring and testing the Case Manager Agent (preview)
- Build with Flow
- Build with BPMN
- Operating
- Monitoring
- Optimizing
- Reference information
Terminate
The Terminate node halts all active branches of a workflow immediately, regardless of parallel work in progress.
What it does
Immediately stops the entire workflow, ending every branch that is still running.
Terminate fits when a specific path must halt the workflow, such as after detecting an unrecoverable error or reaching a conditional branch where no further work should happen anywhere in the workflow.
Choosing between Terminate and End
| Situation | Use |
|---|---|
| Stop the whole workflow now, including any parallel branches still running | Terminate |
| Finish only the current branch and return its output while other branches continue | End |
Terminate is global: it ends the run regardless of what else is in progress. End is local to its branch.
Configuration
The Terminate node has no Status or Message field. Its Parameters tab offers Add output variable, which defines a value that the workflow returns. The node does not support error handling. The node that should stop the workflow connects to its input handle.
Notes
- Terminate stops the run cleanly. It doesn't raise an error on its own. In the execution trace, the Terminate node and the run both show Completed.
- Inside a subflow, Terminate ends only that subflow, and the parent workflow continues.
- Any parallel branches still in progress are ended when the workflow terminates, so Terminate belongs only on paths where stopping all remaining work is the intended outcome.
Next steps
- End: finishing only the current branch.
- Control flow: the nodes that branch, repeat, and rejoin paths.
- Error handling: routing a failure to an error path.