Skip to content

Error handling#

When designing your flow logic, it's a good practice to consider potential errors, and set up methods to handle them gracefully. With an error workflow, you can control how REA Automation responds to a workflow execution failure.

Investigating errors

To investigate failed executions, you can review your Executions, for a single workflow or all workflows you have access to. You can load data from previous execution into your current workflow.

Create and set an error workflow#

For each workflow, you can set an error workflow in Workflow Settings. It runs if an execution fails. This means you can, for example, send email or Slack alerts when a workflow execution errors. The error workflow must start with the Error Trigger.

You can use the same error workflow for multiple workflows.

  1. Create a new workflow, with the Error Trigger as the first node.
  2. Give the workflow a name, for example Error Handler.
  3. Select Save.
  4. In the workflow where you want to use this error workflow:
    1. Select Options Options menu icon > Settings.
    2. In Error workflow, select the workflow you just created. For example, if you used the name Error Handler, select Error handler.
    3. Select Save. Now, when this workflow errors, the related error workflow runs.

Cause a workflow execution failure using Stop And Error#

When you create and set an error workflow, REA Automation runs it when an execution fails. Usually, this is due to things like errors in node settings, or the workflow running out of memory.

You can add the Stop And Error node to your workflow to force executions to fail under your chosen circumstances, and trigger the error workflow.