Fault handlers are used to catch faults or exceptions and create fault-handling procedures to deal with potential errors.
Fault handlers are defined at the scope level, as a result you can catch faults or exceptions thrown by activities within a scope. There are two types of fault handlers: Catch Specific Fault and Catch All Faults.
- Select the activities inside the process where the exception is expected to occur and select from the right-click menu.
- Move the cursor right underneath the scope's lower border to view the icons to create fault handlers.
Click on one the following:
A new fault handler is added under the scope.
- Add activities and configure the fault handling procedure inside the fault handler area. For example, add a Log activity inside the fault handler area to record messages from the exception.