Skip to main content

Rollback error handler

The Rollback error handler stops the Action Flow run and reverts changes made by modules that support transactions. They always use a database app, like MySQL or Data store. Celonis platform cannot undo actions made by modules that don't support transactions, like Gmail > Send an email or Dropbox > Delete a file.

With the Rollback error handler, you can stop the Action Flow and undo changes when the module outputs an error. You can only undo changes in modules that support transactions.

For example, the following Action Flow outputs an error in the Data Store app module:

rollback-example-3a.png
rollback-example-3b.png

To stop the Action Flow and undo changes where possible when an error happens, follow the steps:

  1. Right-click the module that is causing the error. In the menu, select Add error handler.

  2. Select the Rollback error handler.

  3. Optional: Go to Action Flow settings and disable the Auto-commit option.

    When an error happens, the module that outputs the error reverts changes if the module supports transactions. If you disable the Auto-commit option, all modules in the Action Flow that support transactions undo changes.

  4. Save your Action Flow.

You added the Rollback error handler to your Action Flow. When an error occurs in the Data store module, the Action Flow stops and Celonis platform reverts changes made by the erroring bundle in modules that support transactions.

rollback-example-2.png

Related topics