How to link a rule statement to multiple rules
- Last Updated: June 28, 2022
- 1 minute read
- Corticon
- Version 7.2
- Documentation
How to link a rule statement to multiple rules
Using dynamic data, you can create a single rule statement that describes multiple rules. You can then link the rule statement to each of the rules. When any of the rules fire, attribute names is replaced by actual values in the rule message.
![]()
For example, if you have three rules, each specifying the maximum cargo weight for a certain type of aircraft, then you can use a a single rule statement that embeds the aircraft tail number, the aircraft type, and the maximum cargo weight to cover all three rules.
Here are two common methods:
<ColumnNumber>:<ColumnNumber>—Specifies a range of rule columns, for example1:3, where1and3are inclusive. When any of these rules fires, the rule statement is posted as a rule message, as shown in the previous image above.{<ColumnNumber>, <ColumnNumber>,…}—Specifies a list of rule columns, for example{1, 3}. When any of the rules in the list fires, the rule statement is posted as a rule message.