Developer Guide to the BPEL Designer

Using the Repeat Until Element

Use the Repeat Until element to repeatedly execute one or more activities as long as specific conditions are in place after the execution of each iteration. This element contains other elements that are repeated until the success criteria you specify are met. If the condition you specify leads to true, the activities listed will be executed once.

Note: the Repeat Until element first executes the iterative activity and then checks the validity of the condition. Conversely, the While element first checks the validity of the condition and then executes the activity.

Usage

  1. In the Design view, drag the Repeat Until element from the Palette to the diagram.

  2. Drag activities that will be repeatedly executed and place them inside the Repeat Until element. If needed, configure the activity's properties.

  3. Use the Properties window to specify the name and condition of the Repeat Until element. You can enter the condition manually or use the The BPEL Mapper to generate the condition for you. To open the BPEL Mapper window, choose Window > Other > BPEL Mapper or right-click the Repeat Until element on the diagram and choose Show BPEL Mapper.