Rule Sets
The rule sets table defines sets of business rules used by the model.
Field Description | Field Name |
Name. Name of a rule set. Used to refer this set from other components of the system. Since each set is represented by a function, its name may contain only letters, numbers and underscore. | name |
Description. Human-readable description of the rule set. | description |
Type. Rule set type: Sequential Processing or Dependency Tracking. | type |
Rules. The list of rules. See descriptions of rule fields below | rules |
These properties may be accessed through the ruleSets variable.
Rule Fields
Each rule in a rule set has the following properties:
Field Description | Field Name | |
Target. Can be either the Final Rule Set Result (i.e. result of the whole rule set) or name of a rule set environment variable that will be defined or redefined by the rule. | target | |
Expression. An expression that calculates rule result. | expression | |
Rule Expression Resolution Environment: | ||
---|---|---|
| ||
Data that was passed to a rule set function. | ||
0 | ||
Any variable that was defined by the previously executed rules of the same rule set. | ||
Condition. An optional expression that should result to a Boolean value. Rule evaluation is skipped if the condition expression results to false. | condition | |
Rule Condition Resolution Environment: | ||
| ||
Data that was passed to a rule set function. | ||
0 | ||
Any environment variable that was defined by the previously executed rules of the same rule set. | ||
Comment. Any notes about rule's purpose. | comment |
Was this page helpful?