Search K
Appearance
Appearance
The Throw Error node intentionally terminates the workflow with a specified error message. It is used to force a failure state based on conditional logic or validation results.
Use this node to:
✅ Deliberately throw an error when a validation or business rule fails.
✅ Terminate workflows with a meaningful error message for user feedback or debugging.
✅ Integrate conditional branches that end execution when criteria are not met.
Field Label | Input Type | Description |
---|---|---|
Error Message | Text | The error message to return when throwing the error. If not provided, defaults to "Task ended with no message from the user". |
This node does not produce outputs, as it intentionally sets the workflow state to fail.
This node:
Error Message
.✅ End a workflow with "Invalid purchase order status" if validation fails.
✅ Stop execution when required preconditions are not met, such as missing external system data.
✅ Force an error for test scenarios in QA pipelines.
taskSuccess
set to false
and statusReturn
set to Fail
.