ActiveBPEL® Designer User’s Guide

Adding a Fault Handler for a Scope

You can add multiple catch handlers and one catch all handler for each scope in your process.

For explanations of these handlers, see Defining Catch and CatchAll Fault Handlers.

To add a catch handler to a scope:

  1. Select a scope container on the Process Activities tab of the Process Editor canvas.
  2. Right-mouse click and select Show Fault Handlers.
  3. Select the fault handler, and right-mouse click to select Add>Other> Catch.
  4. In the Properties view, select the following optional values:
    1. Fault Name. See Selecting a Fault Name for details. For a discussion on whether or not to add a fault name, see Fault Handling Processing Rules and Rules for Catching Faults in a Catch Activity.
    2. 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 Fault Handling Processing Rules and Rules for Catching Faults in a Catch Activity. If you have selected a Fault Name, the fault variables drop-down list displays only compatible variables.
    3. Variable Definition. Select the Dialog Button at the end of the row to open the Variable Definition dialog. See Adding a Fault Variable Definition for details. For a discussion on whether or not to add a fault variable, see Fault Handling Processing Rules and Rules for Catching Faults in a Catch Activity.
  5. From the Activity palette, drag an activity into the catch handler, such as a reply.
  6. Fill in the properties for the activity to handle the fault.

To add the catch all handler for a scope:

  1. Select a scope on the Process Activities tab of the Process Editor canvas.
  2. If needed, right-mouse click, and select Show Fault Handlers.
  3. Select the fault handler, and right-mouse click to select Add>Other>Catch All.
  4. A catch all handler is added and is selected.

  5. In the Properties view, type in a comment, if desired.
  6. From the Activity palette, drag an activity into the catch all handler, such as an assign or compensate.
  7. Fill in the properties for the activity to handle the fault.

The following illustration shows an example of fault handlers added for a scope.

Example of scope fault handlers