The following list demonstrates how exception handling occurs within
a typical process:
- The Process Execution Engine begins executing the process instance.
- An exception occurs within an Activity at the code level.
- If exception handling code is available, then that code is executed.
The Activity completes successfully, transactions are committed, and the
Process Execution Engine continues with the next Activity in the instance.
- If no exception handling code is available, then the Process Execution
Engine cannot continue. The exception is propagated to the Process level
- At the process level, the following options are possible:
- Process flow continues through each Activity in the Exception flow.
- In the Final Activity of the Exception Flow, the Process Execution Engine
evaluates the ACTION predefined variable to determine where to continue
the flow of the instance.
- Based on the value of the ACTION predefined variable, instance flow is returned
to the main process flow.