Structured loop (While)

Structured loops represent a special case among arbitrary loops. A While loop starts with a joining XOR rule. The outgoing connection leads to a function at which a decision must be made. The subsequent exclusive XOR rule has two outgoing connections. One leads backwards and contains the control flow of the While loop, while the other contains the forward control flow.

Structured loop (While)

The XOR rule from the EPC is transformed into a data-based XOR gateway (XOR gateway type) in the BPMN diagram. The second XOR and the connection to the outgoing events may have attributes of the Condition expression type, which are mapped in BPMN.

The conditions that are specified in the EPC (see graphic) are specified in the Condition expression attribute at the outgoing connection from the XOR. The graphic displays an example with two branches, but any number of branches can be modeled. In addition, Expression is specified as the value of the Condition attribute.