Skip to main content

Using error handlers in Action Flows

Whether it's a problem with data validation or a service being unavailable, error handlers allow you to define how your Action Flow should behave in case of an error.

By adding an error handler to an Action Flow, you can replace the default error handling logic with your own. Celonis Platform offers five different types of error handlers, any of which can be inserted at the end of your automation.

Adding error handlers to Action Flows

To an error handler to your Action Flow:

  1. In Studio, go to your package and start editing an existing Action Flow or start a new one by clicking New asset > Action Flow.

  2. In the edit mode, right-click your module and select Add error handler.

    A Gmail Action Flow module with the context menu open and the "Add error handler" option highlighted.
  3. Select from the following error handlers:

    Use one of the following error handlers if you want the Action Flow execution to continue despite any errors.

    • Resume allows you to specify a substitute output for the module with the error and the Action Flow execution status is marked as a success. For details, ee Resume error handler.

    • Ignore simply ignores the error and the Action Flow execution status is marked as a success. For details, see Ignore error handler.

    • Break stores the input to the queue of incomplete executions and the Action Flow execution status is marked as a warning. For details, see Break error handler

    Use one of the following error handler if you want the Action Flow to stop when there's an error:

    • Rollback stops the Action Flow execution immediately and marks its status as an error. For details, see Rollback error handler.

    • Commit stops the Action Flow execution immediately and marks its status as a success. For details, see Commit error handler.

Save and publish your Action Flow for the error handlers to be active. You can learn more about other methods of dealing with errors in your automation in Advanced error handling .