If this step fails
Open the step and find If this step fails in the properties panel:- Stop the run (the default): the run fails at this step.
- Continue: the run goes on to the next step, and the step’s error is kept for later steps to read.
Reading the error
A step set to continue makes its error available to later steps as{{ <name>_error }}, where <name> is the step’s output name. When the step succeeded it is empty; when it failed it holds:
When the step failed, its own output (
{{ <name> }}) is empty.
To handle the failure, add a Condition on {{ <name>_error }} with is not empty. The Yes branch runs only when the step failed. The variable picker lists the error variable under the step’s name.
Example: alert when a server is down
- A Schedule trigger every hour.
- An FTP step that lists the folder, with its output name
listingand If this step fails set to Continue. - A Condition:
{{ listing_error }}is not empty. - On Yes, a Send Email to the operations team:
The FTP server could not be reached: {{ listing_error.message }}.
What always stops the run
Continue is for a step that fails on its own. These still stop the run, whatever the setting:- a tool call or connection blocked by your workspace’s governance policy;
- an approval that is rejected or times out, and a Human Approval step;
- a cancelled run, or a workspace out of credits.