Conditional Templates
Conditional templates evaluate the Boolean expressions in a list. Conditional templates are extremely useful for grouping multiple rule conditions and make it easy to add new conditions.
| Template name | Template format | Return type |
|---|---|---|
| all | all of the following are TRUE (or FALSE) | Boolean |
| any | any of the following are TRUE (or FALSE) | Boolean |
| at least | at least <number> of the following are TRUE (or FALSE) | Boolean |
| at most | at most <number> of the following are TRUE (or FALSE) | Boolean |
| exactly | exactly <integer> of the following are TRUE (or FALSE) | Boolean |
| more tha n | more than <number> of the following are TRUE (or FALSE) | Boolean |
| less than | less than <number> of the following are TRUE (or FALSE) | Boolean |
| other than | other than <number> of the following are TRUE (or FALSE) | Boolean |
| none | none of the following are TRUE (or FALSE) | Boolean |
Append condition templates allow the rule conditions to be appended with other conditions.
| and | and <condition> | na |
| or | or <condition> | na |