NOOB question about AND and OR in Rule Machine

If I do an IF statement in Rule Machine as follows:

IF A=1
AND
B=2
OR
C= 3

Will Rule Machine interpret that as IF (A=1 and B=2) OR C=3
or will it interpret this as IF A=1 AND (B=2 or C=3) ?

1 Like

This has been discussed before, but it may be hard for me to find the topic again.... My suggestion, and I think it was from others as well, would be to make use of the parenthesis you can include in your rule to make it more explicit about how the logic should be handled, rather than leaving it open to interpretation (by the user I mean), needing to know for sure how the system will interpret the logic. So if you want A and (B or C), then I would setup the parenthesis this way in your rule or vice versa.

3 Likes

Thanks @sburke781 ! I will do so!

1 Like
3 Likes

Thank you @jasper !