How to Create Synchronization Between Activities Within a Flow Activity

To create synchronization between activities within a flow activity:

Note:

The Sources and Targets tabs are only available in BPEL 2.0 projects. For BPEL 1.1 projects, you must directly edit the BPEL file to use this functionality.

  1. Create a flow activity. For information, see How to Create a Parallel Flow.
  2. In the General tab of the Flow activity, click the Add icon.
  3. Enter a name for the link, as shown in Figure 10-6.
  4. Click Apply, then OK.
  5. Drag appropriate activities into the flow activity to define as the source with the same link name as defined in Step 3. The value of the link name of the source and target must be the same as the link name declared in the flow activity. For this example, an assign activity named A is defined as the source in Figure 10-7.

    Each source activity can specify an optional Transition Condition as a safe guard for following the specified link. Click the row in this column to invoke the Browser icon for accessing the Expression Builder dialog for creating a condition. If the Transition Condition column is left blank, it is assumed to evaluate to true.

  6. Define appropriate copy rules for the assign activity.
  7. Click Apply, then OK.
  8. Drag an additional activity into the flow activity to define as the target with the same link name as defined in Step 3. For this example, another assign activity named B is defined as the target in Figure 10-8.
  9. Define appropriate copy rules for the assign activity.
  10. Click Apply, then OK.
  11. Continue design of your BPEL process.

    When complete, design can appear similar to that shown in Figure 10-9.

    Figure 10-9 Three Flow Activities Synchronized with Links

    Description of Figure 10-9 follows
    Description of "Figure 10-9 Three Flow Activities Synchronized with Links"