# Creating While Node Groups in Your Business Process

To Add A While group to Your Business Process

1. On the Application tab, click the business process (JPD file) you want to add the While group node to.

Your business process is displayed in the Design View.

2. If the Palette is not visible in WebLogic Workshop, choose View —> Windows —> Palette from the menu bar.
3. Determine whether you need While Do or Do While looping logic, and click While Do or Do While in the Palette.
4. Drag and drop the node group you selected onto the business process, placing it on the business process at the point in your business process at which you want to design a looping logic.

The Design View is updated to contain a representation of the group you selected.

Note the following characteristics of the While groups:

- Each While group represents a placeholder for one or more additional nodes, a looping mechanism, and a condition builder . The condition builder allows you to build the condition, which your business process evaluates for each iteration through the loop at run time.
- In the case of While Do groups, the design specifies that the condition on the group is evaluated before the activities in the loop are performed. In contrast, in the case of the Do While groups, the design specifies that the activities defined in the loop are executed first at run time, then the condition is evaluated.
- You can change the name of the While groups by double-clicking the name of the group in the Design View, and entering a new name.
- indicates that the design of a group is incomplete. When you complete the design of the group, is replaced by . While groups are completed when the condition group is properly configured.

Related Topics

Designing While Node Groups

Understanding While Node Groups