Structured loop pattern
Iteration patterns are the foundation of many complex patterns. Structured loop patterns are an implementation of the while-do
or repeat-until
(do-while
) loop.
The following table summarizes the details around Structured Loops:
Signature |
Structured Loops Pattern |
Classification |
Iteration Patterns |
Intent |
The structured loop pattern exhibits the ability to repeat subprocesses. This looping structure comprises of a single entry and exit point where the iteration condition can be determined before a loop execution or after a loop execution. |
Motivation |
Loops are similar to any traditional programming language loop structure. If a condition is evaluated before an iteration starts, then it's a variant of while-do, and if the condition is evaluated after the first iteration gets completed, then it's a do-while execution. |
Applicability |
Multi-instance subprocesses with the loop characteristics property set as loop. Loop characteristics (while-do or do-while... |