You can reference a rule specification in a condition or an action in a rule statement. Add a rule specification to a rule statement when the rule specification contains function logic that you want to reuse in the rule statement. Use the rule specification so that you do not have to define the logic in the current rule specification.
Configuring a condition to run a rule specification
1Create or select a rule statement in a rule set.
2Select one of the following operators:
is, is not, is greater than, is greater than or equal to, is less than or is less than or equal to.
The condition name changes to function.
3Open the Define Condition dialog box.
4Select Rules > Rule Specification.
5In the Select Rule Specification dialog box, browse to and select a rule specification to add to the condition.
6The Define Condition dialog box shows the inputs on the rule specification that you select.
Select an input in the current rule set to map to each input in the selected rule specification. The data types of the inputs must be compatible in each case.
7The Define Condition dialog box also shows an output field for the rule specification that you select. The output field identifies the rule set that generates an output for the condition.
To provide an output from the rule specification that the condition can use, select a rule set name.
8Click OK.
Configuring an action to run a rule specification
1Create or select a rule statement in a rule set.
2Select the function option on the action.
3Open the Define Action dialog box.
4Select Rules > Rule Specification.
5In the Select Rule Specification dialog box, browse to and select a rule specification to add to the action.
6The Define Action dialog box shows the inputs on the rule specification that you select.
Select an input in the current rule set to map to each input in the selected rule specification. The data types of the inputs must be compatible in each case.
7The Define Action dialog box also shows an output field for the rule specification that you select. The output field identifies the rule set that generates an output for the condition.
To provide an output from the rule specification that the action can use, select a rule set name.