# Creating a Decision Node in Your Business Process

To Create a Decision Node in Your Business Process

1. On the Application tab, click the business process (JPD file) you want to design.

Your business process is displayed in the Design View.

2. If the Palette is not visible in WebLogic Integration, choose View —> Windows —> Palette from the WebLogic Integration menu.
3. Click Decision on the Palette.
4. Drag and drop the Decision node onto the business process in the Design View, placing it on the business process at the point in your business process that requires branching to one of several possible paths of execution, based on the evaluation of one or more conditions.

The Design View is updated to contain a Decision node, as shown in the following figure:

Note the following characteristics of the Decision node:

- Adding a Decision node to a business process adds, by default, a single Condition node, and a representation for the two paths of execution after the Condition node.
- You can add additional condition nodes. To do so, right-click on the Decision node and select Add Condition from the drop-down list, or click .

At run time, when more than one condition is defined, if the first condition evaluates to false, the second condition is evaluated. If the second condition evaluates to false, the next condition is evaluated, and so on. The default path is executed if no conditions are met.

- You can change the name of the Decision node, the Default branch, and each Condition in a Decision node. To do so, click the name assigned to the Condition, Add Condition branch, Default branch, or Decision node and enter a new name.
- indicates that the design of this node is incomplete. When you complete the design of the node, is replaced by (see Example Decision Node). A Decision node is completed when all conditions have been configured.
- A Decision node is, in effect, a group of nodes. You can view and edit the properties of your Decision node by clicking the outline of the group to select it, then viewing the group properties in the Property Editor. To learn about groups, see Grouping Nodes in Your Business Process.

Related Topics

Designing Your Decision Node

Creating Case Statements