Adding rules to rule tasks

You can add packages, rules, decision tables, and decision trees to a rule task.

About this task

In the Ruleflow Editor, you can add rules or whole packages to rule tasks, using the Properties view for the rule task. When you add a package to a rule task, all the rules in the package are processed as part of the rule task.

Procedure

To add rules to a rule task:

  1. In the ruleflow diagram, click the rule task. This opens the Properties view.
  2. In the Rule Selection tab in the Properties view, click Edit to open the Select Rules dialog.

    The list displayed on the side is an aggregation of all available rules and packages in dependent projects.

    Use the dialog to select rule packages and rules that are executed when the rule task is executed.

  3. Click a rule in the side panel to select it, then click the arrow to include the rule in the task.

    Optional: Use the Up and Down buttons to order the rules and packages. Depending on the rule execution properties of the task, this order might impact the output of ruleflow execution.

  4. Click OK when you have finished.
  5. Save the ruleflow (Ctrl+S).