How to Create a repeatUntil Activity

To create a repeatUntil activity:

  1. In the Components window, expand BPEL Constructs.
  2. Drag a Repeat Until activity into the designer.
  3. Click the Repeat Until activity to display its property fields in the Property Inspector or double-click the Repeat Until activity.

    For information about editing activities in the Property Inspector, see How to Edit BPEL Activities in the Property Inspector.

  4. Enter a name or accept the default value.
  5. In the Condition field, click the XPath Expression Builder icon to enter an XPath expression condition.

    The Expression Builder dialog is displayed.

  6. Enter a boolean XPath expression condition, and click OK.

    The condition you entered is displayed in the Repeat Until dialog, as shown in Figure 11-10.

    Figure 11-10 Completed Repeat Until Dialog

    Description of Figure 11-10 follows
    Description of "Figure 11-10 Completed Repeat Until Dialog"
  7. Click Apply, then OK.
  8. Expand the Repeat Until activity, as shown in Figure 11-11.

    Figure 11-11 repeatUntil Activity Being Expanded

    Description of Figure 11-11 follows
    Description of "Figure 11-11 repeatUntil Activity Being Expanded"
  9. Design the body of the activity by dragging in activities from the Components window and defining their property values. These activities are evaluated until the XPath expression condition is evaluated to true.