You can add multiple catch handlers and one catch-all handler for the process.
For explanations of these handlers, see Defining Catch and CatchAll Fault Handlers and Catching Undeclared and SOAP Faults.
To add a catch handler for the process:
Click on the Fault Handlers tab of the Process Editor canvas.
Drag an
Error catch event
to the canvas.
A catch handler is added and is selected.
In the Properties view, select the following optional values:
Fault Name. See Fault Handling Processing Rules.
Fault Variable. Type in name for the variable described by the variable definition. For a discussion on whether or not to add a fault variable, see Rules for Catching Faults in a Catch Activity. If you have selected a Fault Name, the fault variables picklist displays only compatible variables.
Variable Definition. Select the
Dialog (...) Button
at the end of the row to open the Variable Definition dialog. See Fault Handling Processing Rules.
Drag an activity into the catch handler, such as a reply or compensate. For an example, see Fault Handling for Service Invocations.
Fill in the properties for the activity to handle the fault.
To add the catch all handler for the process:
Click on the Fault Handlers tab of the Process Editor canvas.
Drag an
Error catch event
to the canvas.
Select the
Catch All Faults
checkbox.
Do not select any fault name or variable in the Properties view of the Catch.
Drag an activity into the catch all handler, such as an assign or compensate.
Fill in the properties for the activity to handle the fault.
The following illustration shown an example of a fault handler added for the process.
Tip
: If you collapse the fault handler, you can add a background color from the Properties view. Right-mouse-click the handler and select Collapse Container.