The while activity has icons to allow you to build condition expressions and to validate the while definition. It also provides an area for you to drag an activity to define the while loop.
Drag and define additional activities for using the while condition into the Drop Activity Here area of the While activity (for example, a Scope activity).
The activities can be existing or new activities.
Click the XPath Expression Builder icon to open the Expression Builder dialog.
Enter an expression to perform repeatedly, as shown in Figure 11-9. This action is performed until the given boolean while condition is no longer true. In this example, this activity is set to loop while less than 5.