skip to main content
Corticon Studio: Rule Modeling Guide : Rule writing techniques and logical equivalents : Qualifying rules with ranges and lists : Using ranges and value sets in condition cells : Boolean condition Vs. values set
 

Try Corticon Now
Boolean condition Vs. values set
Rulesheet Using a Conditional Rule illustrates a simple Boolean Condition that evaluates to either True or False. The Action related to this Condition is either selected or not, on or off, meaning the value of maxCargoWeight is either assigned the value of 200,000 or it is not (Action statements are activated by selecting the check box that automatically appears when the cell is clicked). However, there is another way to express both Conditions and Actions using Values sets.
Figure 69. Rulesheet Illustrating use of Multiple values in the same Condition Row
By using different values in the column cells of Condition and Action rows in Rulesheet Illustrating use of Multiple values in the same Condition Row, we can write multiple rules (represented as different columns in the table) for different Condition-Action combinations. Expressing these same rules using Boolean expressions would require many more Condition and Action rows, and would fail to take advantage of the semantic pattern these three rules share.
* Exclusionary syntax
* Using other in condition cells