How to Create a Parallel Flow

To create a parallel flow:

  1. In the Components window, expand BPEL Constructs > Structured Activities.
  2. Drag a Flow activity into the designer.
  3. Click the + sign to expand the flow activity, as shown in Figure 10-2.

    The flow activity initially includes two branches, each with a box for functional elements. Populate these boxes as you do a scope activity, either by building a function or dragging activities into the boxes. You can add additional branches by highlighting the flow activity and clicking the Add Sequence icon. Figure 10-3 provides details.

  4. Drag and define additional activities on each side of the flow to invoke multiple services at the same time. Figure 10-4 provides details.

    Figure 10-4 Expanded Flow Activity

    Description of Figure 10-4 follows
    Description of "Figure 10-4 Expanded Flow Activity"

    When complete, flow activity design can look as shown in Figure 10-5. This example shows the Retrieve_QuotesFromSuppliers flow activity. Two branches are defined for receiving bids: one for InternalWarehouseService and the other for PartnerSupplierMediator.

    Figure 10-5 Flow Activity After Design Completion

    Description of Figure 10-5 follows
    Description of "Figure 10-5 Flow Activity After Design Completion"