Select the fault in the Fault Chooser dialog, and click OK. Click OK.

11-36 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite faultVariable=gOrderProcessorFaultVariable faultName=ns9:OrderProcessingFault sequence catch catch faultName=ns2:InvalidCredit sequence assign name=Assign_InvalidCreditFault copy from expression=concatbpws:getVariableData gOrderInfoVariable,ns4:orderInfoVOSDOns4:CardTypeCode, is not a valid creditcard type to variable=gOrderProcessorFaultVariable part=summary copy copy from expression=stringCreditCardCheck - NOT VALID to variable=gOrderProcessorFaultVariable part=code copy assign throw name=Throw_OrderProcessingFault faultName=ns9:OrderProcessingFault faultVariable=gOrderProcessorFaultVariable sequence catch faultHandlers

11.10.8 How to Create an Empty Activity to Insert No-Op Instructions into a Business Process

There is often a need to use an activity that does nothing. An example is when a fault must be caught and suppressed. In this case, you can use the empty activity to insert a no-op instruction into a business process. To create an empty activity: 1. In the Component Palette, expand BPEL Constructs. 2. Drag an Empty activity into the designer. 3. Double-click the Empty activity. The Empty dialog appears, as shown in Figure 11–12 . Using Fault Handling in a BPEL Process 11-37 Figure 11–12 Empty Activity 4. Optionally enter a name.

5. Click OK.

11.10.9 What Happens When You Create an Empty Activity

The syntax for an empty activity is shown in Example 11–27 . Example 11–27 Empty Activity empty standard-attributes standard-elements empty If no catch or catchAll is selected, the fault is not caught by the current scope and is rethrown to the immediately enclosing scope. If the fault occurs in or is rethrown to the global process scope, and there is no matching fault handler for the fault at the global level, the process terminates abnormally. This is as though a terminate activity described in Section 11.13.1, Stopping a Business Process Instance with the Terminate Activity in BPEL 1.1 had been performed.

11.11 Re-executing Activities in a Scope Activity with the Replay Activity

You can create a replay activity inside a scope activity to re-execute all of the activities inside the scope.

11.11.1 How to Create a Replay Activity

To create a replay activity: 1. In the Component Palette, expand Oracle Extensions. 2. Drag a Replay activity into the designer. 3. Double-click the Replay activity. 4. Enter an optional name. 5. Select the scope to re-execute, as shown in Figure 11–13 .