Process Developer > Part II: Creating and Modifying Processes > Gateways and Control Flow > While
  

While

BPMN Implementation: Loop
The While activity executes an activity repeatedly until its condition evaluates to false.
In contrast to the Repeat Until activity, the Qhile loop may not execute the contained activity at all.
Required Properties
Optional Properties
Condition
Suppress Join Failure. See Process Element and Properties
Extension Attributes and Extension Elements. See Declaring Extension Elements and Attributes.
To build a While:
  1. 1. From the Control Flow palette, drag a Loop activity to the Process Editor canvas.
  2. 2. Double-click the Qhile to open the Condition Builder. For details, see Using the Expression Builder
  3. 3. Drag an activity, such as a Scope or Invoke, inside the While.
  4. 4. Specify all the properties for each activity in the while.
XML Syntax
<while standard-attributes>
<condition expressionLanguage="anyURI"?>
bool-expr
</condition>
standard-elements
activity
</while>
Example:
<while>
<condition>
$orderDetails > 100
</condition>
<scope>
...
</scope>
</while>