Loop Activities

Where a business requirement exists to carry out a piece of processing multiple times a loop activity may be used. The boundaries of a loop are defined by a Loop Begin and Loop End activity. The type of iteration and number or iterations depend on the loop type and conditions set for that loop. An example of loop types are while and do/while.

The Loop Begin activity is a control activity which specifies the loop type and the conditions under which the loop should reiterate or stop executing. The loop type indicates whether the conditions attached to the loop are evaluated up front (while) or after a full iteration of the loop (do/while or loop back). If the type is while, the conditions are checked before the first iteration of the loop. If they evaluate to true, then the loop doesn't have to go through an iteration. Otherwise, the loop will go through at least one iteration before the loop exit conditions are checked.

The metadata associated with loop activities is described in the Loop Begin and Loop End chapter of the Cúram Workflow Reference Guide.