You create a decision tree by specifying a name and optionally
specifying a package.
About this task
Decision trees are composed of branches that have a condition
node as their root, and end with actions. Every node is a condition
node, except for leaf nodes. Decision trees allow you to manage a
large set of rules with some conditions in common but not all.
Procedure
To create a decision tree:
- In the Rule Explorer view, click your rule project.
- On the File menu, click . The New Decision Tree wizard opens.
- Optional: Add the decision tree to a rule package:
- In the Package field, click Browse.
- Expand the folder structure, click the package to which
the decision tree should be added, and then click OK.
- In the Name field, type a name for
the decision tree.
- Click Finish. The
new decision tree is displayed in the Rule Explorer view and the Decision
Tree Editor opens. The default decision tree has one condition node,
one branch, and one action.
Results
You can now use the decision tree editor to label and define
the condition node and action, and to create further nodes, branches
and actions as appropriate.