Working with branches

You set up branches by setting the value of the condition for the branch, adding other conditions nodes if required, and setting actions.

Deprecated feature:

Deprecation icon Decision trees are deprecated in V8.8.1. This feature will be removed in a future release of the product. See Deprecated features for migration details.

When you create a condition node (see Declaring condition nodes), it has an empty branch stemming from it. You must set up this branch and any other branches that you add. For each branch, you must set the value of the condition for the branch and set actions. If required, you can also add other condition nodes.

Set up a branch

You set up a branch as follows:

Action Procedure
Set the value of the condition for the branch
  1. Select the branch by clicking on the arrow or the arrowhead.

  2. In the editor, in the Label field, enter the name you want to appear on the arrow in the tree.

  3. Set the value of the condition for that branch and then click SUBMIT to commit your changes.

Set the actions of the branch
  1. Click the actions located at the end of the branch.

  2. In the editor, in the Label field, enter the name you want to appear for the set of actions in the tree.

  3. Create the actions and then click SUBMIT to commit your changes.

When you have set the first action, you can add other actions to the branch by clicking Icon to add actions. You can access this icon from the toolbar or the tree.

You can remove individual actions from the set of actions by selecting the action in the editor and clicking the X next to it.

Add other condition nodes you want to include in the branch To add a condition node to the branch, select the branch (either the arrow or the actions) and click Icon to add condition node. You can access this icon from the toolbar or the tree.

Add branches

You must set up the branches for every branch that you add to your tree. You can add branches in various ways:

Branch Description
Single branch Select the condition node and then click Icon to add branch. You can access this icon from the toolbar or the tree.
Otherwise branch

Select the condition node and then click Icon to add Otherwise branch in the toolbar. The new branch displays the Otherwise label.

An ‘Otherwise’ branch caters for the case where none of the other possibilities for that condition are correct. You can remove the ‘Otherwise’ status by clicking the same icon that you used to set it.

Multiple branches

Select the condition node and then click Icon to add as many branches as there are remaining domain entries in the toolbar. The new branches display the appropriate labels and empty actions are added to the end of each branch.

You can create multiple branches only if the selected condition node allows it, that is, if a predefined list of items already exists. For example, the loan grade is ‘A’, ‘B’, ‘C’, or ‘D’.

Duplicate a branch

You can add a branch by duplicating an existing one and then modifying the new one. To duplicate an existing branch, select the branch and then click Icon to duplicate branch in the toolbar.

If the overlap check is active for the condition node, you get an error for both branches until you modify one of them.

Delete branches

You delete a branch by selecting the branch (the arrow or the actions) and then clicking Icon to delete branch in the toolbar.

When you delete a branch, it immediately deletes any condition nodes and any subbranches that stem from them.