Commit error handler
The Commit error handler stops the Action Flow run and commits changes in your database apps. If your Action Flow is not using apps that support transactions, like MySQL or Data store, the Commit error handler just stops the Action Flow.
The bundle that caused the error doesn't go through the rest of the Action Flow flow. Celonis platform doesn't process the rest of the bundles.
If we added the Commit error handler to the Update a record module, the Commit error handler would stop processing the bundle in the Action Flow and save changes to your data in database apps. Celonis platform wouldn't process the remaining bundles.

Let's check the data in the data store as well.
After running the Action Flow, Celonis platform would update the data in the data store:

The first bundle of data gets through the Action Flow flow successfully and updates the first row of data in the data store both times. The first row contains the update from the second Update a record module:
ID = 5, Name = Test 5.The second bundle gets to the first Update a record module successfully, but causes an error in the second module.
The Commit error handler saves the update in the first module, but prevents the update in the second module and stops the Action Flow. The second row contains the update from the first module only:
ID = 4, Name = Test 4.Celonis platform doesn't update the third row because the Commit error handler stopped the Action Flow run already. The data in the third row remain the same:
ID = 3, Name = Test 3.
For more information about error handling strategies check the overview of error handling.
Stop the Action Flow when an error happens
With the Commit error handler, you can stop the Action Flow when an error happens. Celonis platform saves changes in the database apps in your Action Flow and doesn't process the rest of the bundles in the Action Flow flow.
For example, the following Action Flow outputs an error in the Data Store app module:


To stop the Action Flow and save changes, follow the steps:
Right-click the module that is causing the error. In the menu, select Add error handler.
Select the Commit error handler.
Save your Action Flow.
You added the Commit error handler to your Action Flow. When an error occurs in the Data store module, the Action Flow stops and Celonis platform saves changes in modules that support transactions.







