A rule task references a list of rule providers, that is, a list of rule packages and/or rules from which execution rules are extracted and fired when the rule task is executed.
Edit the rule provider list either by selecting the Edit action of a task (right-click + Edit) or double-clicking a rule task in a flow. This pops up a dialog box, where the top panel contains the rule providers and the bottom panel contains the rule providers currently referenced by the task.
In the example ruleflow, the Category
rule task references the Category
rule package, so that when the Category
rule task is instantiated, all the rules contained in this package are extracted and fired. Suppose now that we also want to fire the Full shopping cart
rule when executing the task (this rule is not part of the Category
package).
-
Display the Rules dialog box showing the rule providers, by double-clicking on any task or by right-clicking and then clicking Edit on the shortcut menu.
-
Select the
Full shopping cart
rule in the top panel and add it to the rule provider list in the bottom panel using the arrow button as shown in Figure 9.10.
Tip |
Once selected, a rule provider is grayed out so that you cannot select it twice. |
-
Figure 9.10 Rule Provider Dialog Box
-
Close the dialog box by clicking OK.
See Also
Ruleflow Editor
|