Handling Errors in an Automatic Activity

Describes how to handle the errors that might occur during the carrying out of an Automatic activity.

You can configure the Process Execution Engine to retry running the activity if it fails on the first attempt to run it.

You can configure the number of times the Process Execution Engine retries to run the activity and the waiting interval between retries. If after trying the specified number of times the Process Execution Engine is not able to complete the activity successfully then it throws an exception.

To revert the changes made by an Automatic activity that did not complete successfully, you should add an exception handling flow to that Automatic activity. You should define an exception flow for all the exception that may arise during the carrying out of the activity. To do this add one exception transition for each exception. If you want to handle unexpected exceptions add an exception transition for the Others exception.

For more information about Exception Handling, see Handling Exceptions.