To deploy a decision tree within a rule task, you need to start with a repository that contains functions and a decision tree. Then perform the following procedure:
-
Add a ruleflow: in the Project Explorer right-click the repository's rule package and then click Add Ruleflow on the shortcut menu.
-
In the ruleflow, create a start node, an end node, and a Rule Task. You are then ready to deploy a decision tree within this rule task.
-
Right-click the rule task and click Edit on the shortcut menu. A Rules dialog box appears in which all the available rulesets are listed (see Figure 13.58).
-
Click the decision tree you want to deploy and click the arrow to move it into the rule task.
-
Finally, you need to change the algorithm used for this rule task. Click to select the rule task. The Property Sheet shows a list of properties in the
List
tab.
-
Change the
algorithm
to sequential
and the ordering
to literal
.
-
Figure 13.58 The Rules Dialog Box
|