Code examples for Rule Set Reference rules
- Last UpdatedOct 15, 2026
- 1 minute read
If a Rule Set Reference is available, the Rules Engine can be run for the evaluating element, setting the relevant attributes and using the ExecuteAllRules method.
In the following examples, the current element (!!ce) is the evaluating element. It is assumed that an administrator has set up the rule set reference to link to a rule set which is valid for this element.
This method finds all rules by way of the rule set reference. Execute the rules, and set any attribute values as appropriate:
!rulesEngine.executeAllRules(!!ce.name)