You can enable the Error Handling option for an Action. Enabling error handling will allow you to continue executing a task in a multi-step workflow, even if one of the steps or the entire task fails.


NOTE: The Error Handling option is available only for Actions and not for Conditions.
As soon as you enable Error Handling, an action will move under the Condition Nodes as ‘Success’ and ‘Failed’. If workflow automation is successful, it comes under the Success tab. If it fails, it comes under the Failed tab.

Note: You’ll not be able to edit the Success and Failed Condition nodes, but you will be able to view them. Also, you’ll be able to add more nodes under the Success and Failed Condition nodes and not between the action node and its associated Success/Failed Condition nodes.

The Success and Failed nodes ensure that when the respective action gets executed successfully, the nodes under the Success node get executed and when the respective action fails, the nodes under the Failed condition get executed.
Overall, the workflow automation status will be shown as Success even if the action for which error handling is enabled fails, while all other nodes after that action get executed successfully.

When you enable Error Handling for an action, you can determine the nodes after that action that fail during execution This will be represented by the total number of errors during the test-run of the workflow using the Test option.
You can disable Error Handling for an action node when the workflow is not linked with a dialog.
However, disabling Error Handling does not delete the Success and Failed nodes associated with that action node. You’ll have to manually delete the Success and Failed nodes.
Click the Delete icon for the desired node and click Yes in the confirmation pop-up.


Also, you won’t be able to add new nodes between an action and its associated Success and Failed Nodes. Whenever you enable Error Handling for an action, the workflow builder will check and create a new Success/Failed condition node depending on whichever node is absent.
You can add the deleted node again by clicking on the Action node and clicking the checkbox of the node you deleted under Error Handling.
In this case, the Success node was deleted, so we can bring back the node by clicking the checkbox for it. The same way, we can bring back the node for Success.


NOTE: Outputs of only the previous nodes that got executed successfully will be available as inputs for a new node in the Variable Picker pop up.
To get the successful notification, choose to add an action by hovering the mouse over the success node and clicking on the plus sign. Now choose a new action from the drop-down list.

Select an application. Choose Outlook to get a successful message of the workflow. Choose Send Email. Add an application account. Click Test Connection to proceed further.

- Fill in details for Action Inputs. Compose the subject for email, body content, and provide an email address to receive the success message.
- Click the Save button.

You can also add a new Action for the Failed workflow.

Select Outlook and send email option for failed workflow.

Adding further action also prompts Error Handling. The key is to understand if enabling Error Handling is necessary for the action or not.