# Understanding While Node Groups

Both Do While and While Do node groups support looping logic. Both types of groups represent a point in a business process at which the activities enclosed by the group are performed repeatedly while a specific condition is true. However, Do While and While Do groups represent different execution logic, as described in the following sections:

- While Do Node Groups
- Do While Node Groups

While Do Node Groups

At run time, the condition on a While Do group is evaluated before the activities in the loop are performed. Therefore, the activities inside While Do groups are performed zero or many times, depending on the results of the evaluation of the condition.

Do While Node Groups

In the case of Do While groups, business process activities are added before the condition in the loop. At run time, the activities defined in a Do While loop are performed; then the condition is evaluated. Therefore, the activities inside a Do While group are performed one or many times, depending on the results of the evaluation of the condition.

Related Topics

Creating While Node Groups in Your Business Process

Designing While Node Groups