Single AND and multiple OR in match-value
Hello,
Does anybody know, what is the precedence in processing the logical operators in match-value? In my case I need to define few conditions in match-value of boolean type with single AND operator and many OR operators. The whole match-value must resolves to TRUE if:
Condition1 resolves to TRUE AND Condition2 == 1000
OR
Condition 1 resolves to TRUE AND Condition2 == 2000
OR
Condition 1 resolves to TRUE AND Condition2 == 3000
I prepared following expression. Not sure if it works correctly...
(Condition1) & (Condition2==1000) | (Condition2==2000) | (Condition2==3000)
What is the correct expression?
Regards,
Daureen