Until |
|
Until is a BPMN group construct, which is used to group activities or sub-processes that must be executed till the condition becomes 'true'. Unlike the While construct, the activities or sub-processes are executed at least once. Until construct is graphically represented as follows:
Example of an Until Loop
Consider the example of a stock verification and update process, where whenever stock reaches re-order level (ROL), the Purchase Manager is notified and fresh stock is ordered until stock level reaches 100 units. This process can be modeled as:
- Check Stock; if stock reaches ROL, notify Purchase Manager
- Order stock until stock level reaches 100 units