While
See Also
The While activity supports repeat performance of a specified iterative activity. The iterative activity is performed as long as the specified condition holds true at the beginning of each iteration. You can add other activities to the While element that will also be repeated while the specified condition is met. If the condition leads to false, the While activity terminates and the BPEL process continues.
- Note that the While activity first checks the validity of the condition and then executes the iterative activity. Conversely, the Repeat Until activity first executes the activity and then checks the validity of the condition.
To use the While element:
- In the Design view, drag the While element from the Palette to the diagram.
- Select the While element on the diagram.
The
Properties window shows the While properties (Ctrl-Shift-7).
- (Optional) In the Properties window, enter the name for the While element.
- Drag an activity that will be repeatedly executed and place it inside the While element. If needed, configure the activity's properties.
- Specify the condition using one of the following methods:
- In the Properties windows for the While element, click the ellipsis button (...) for the Condition property and add a condition in the text editor window.
- Open the BPEL Mapper window (Window > BPEL Mapper) and specify the condition using the BPEL Mapper.
- See Also
- Repeat Until
- About the BPEL Mapper
- BPEL Designer Palette: Structured Activities
- About the Design View of the BPEL Designer
Legal Notices