How to Create a Catch Activity in a Scope

To create a catch activity in a scope:

  1. In the expanded Scope activity, click Add Catch. Figure 12-30 provides details.

    This creates a catch activity on the right side of the scope activity.

  2. Double-click the Catch activity.
  3. Optionally enter a name.
  4. To the right of the Namespace URI field, click the Search icon to select the fault.
  5. Select the fault in the Fault Chooser dialog, and click OK.

    The namespace URI for the selected fault displays in the Namespace URI field. Your fault selection also automatically displays in the Local Part field.

    Figure 12-31 provides an example of a Catch dialog. This example shows the selectionFailure catch activity of a Scope_AuthorizeCreditCard scope activity. This catch activity catches orders in which the credit card number is not provided.

  6. Design additional fault handling functionality.
  7. Click OK.

    Figure 12-32 provides an example of two catch activities for the Scope_AuthorizeCreditCard scope activity. The second catch activity catches credit types that are not valid.

    Figure 12-32 Catch Activities in the Designer

    Description of Figure 12-32 follows
    Description of "Figure 12-32 Catch Activities in the Designer"