Rule Builder > Managing Decision Tables > Executing Decision Tables > Adding a Decision Table to a Rule Task

To add a decision table to a rule task, you need to start with a repository that contains functions and a decision table. You can then create a ruleflow, add the decision table to a rule task, and then execute the ruleflow in sequential mode.

To add a decision table to a rule task perform the following procedure:

  1. Add a ruleflow in the Project Explorer. Right-click the repository's rule package and then click Add Ruleflow on the shortcut menu.
  2. In the ruleflow, create a start node, an end node, and a Rule Task.
  3. You are now ready to add a decision table to this rule task.
  4. Right-click the rule task and then click Edit on the shortcut menu. A Rules dialog box appears in which all the available rulesets are listed, see Figure 12.76.

  5. images/use01.png
  6. Figure 12.76    The Rules Dialog Box
  7. Click the decision table you want to add to the task and then click the arrow to move it into the rule task.
  8. Finally, you need to change the algorithm and ordering properties used with this rule task to execute your ruleflow in sequential mode.
  9. Click to select the rule task. The Property Sheet shows a list of properties in the List tab.
  10. Change the algorithm property to sequential and ordering to literal.

See Also

Creating a Ruleflow | Executing Rules in Sequential Mode


Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. PREVIOUS   NEXT