Error Handling

Therefore™ Workflow tasks allow users to configure how errors are responded to. This includes tasks being able to automatically route to an alternative path in case of an error.

  1. Error handling is configured in the 'Properties' dialog of a task, which opens automatically when adding a new task in or when right-clicking an existing task and selecting 'Properties'. Right clicking anywhere in the 'Error handling' table will let the user click 'Add Row'.

  2. One row is needed for one error rule. In the column labeled 'Error Matches', enter the exact error message or a wildcard string (e.g., 'Error message', '*File invalid*').

  3. Click the arrow icon in the 'Action' column to open a drop-down menu of error handling options. Select "Pause processing" to stop processing the workflow instance if this specific error message occurs, or select 'Ignore error' if this specific error should be ignored. Select 'Route to...' to route to other tasks. These options are only available if the selected task is connected to other tasks using transitions. Check the box labeled 'Log' to record the usage of an error rule.

    Note: Wildcards
    • *File invalid*: the selected action is executed whenever an error message contains this text.

    • *is encrypted: the selected action is executed whenever an error message ends in this text.

    • *: the selected action is always executed.

    • 'Error matches' is not case sensitive.

  4. Click on a row to select the defined error rule. Use the buttons labeled 'Move up' and 'Move down' to change the position of the error rules. As error rules are processed from top to bottom, this will impact the order in which the rules are checked.