Throw
The Throw block is used to announce errors when problems occur in a workflow. This block is useful when you want to handle specific conditions to keep informed about workflow issues.
Procedure
- Drag and drop the Throw block onto your workflow.
- In the error field, provide an error message for a potential problem. For example, enter this message: Something is wrong with this workflow.
- Run the workflow. When the Throw block is reached during execution, the
workflow is intercepted, and you can see the error message. Note: In the workflow output, the directory where the error occurred is visible in the
stackparameter.
Disabling the Throw block
To disable the Throw block without deleting it, turn off the switch in the block header.