Connecting Multiple Conditions
Rules generally will have more than one condition. These conditions need to be connected.
To connect multiple conditions, use lowercase
and or
or.
- and indicates that both conditions connected by and must be true for the rule to evaluate to true and the action to occur.
- or indicates that only one of the conditions connected by or must be true for the rule to evaluate to true and the action to occur.
![]() | Important: Parentheses are required around the entire set of expressions that include either of these connectors. Your rule will not validate without them.
|
Example of
and logic:
(CRTRAN25.transactionType= "C"
and ffmFrdCard.Score > 550)
Example of
or logic:
(CRTRAN25.merchantPostalCode = "000012102"
or CRTRAN25.merchantPostalCode = "000012103")
Example of both
and and
or logic used in the same rule (note parentheses usage):
(
CRTRAN25.transactionType = "C"
and ffmFrdCard.Score > 550
(CRTRAN25.merchantPostalCode = "000012102"
or CRTRAN25.merchantPostalCode = "000012103")
)