More Advanced Conditions in RunIf Action
Can we get more advanced options for conditions in a "Run IF" action? We need to be able to use parenthesis or indents that allows for grouping:
Example of behavior:
value1 = true
value2 = true
value3 = false
The whole statement currently results in false. Logically, because the first statement is "True" and is followed by an "OR" so the whole statement should return true.
II would expect it to evaluate to the following
(value) OR ( value2 AND value3) = should result in true, if the first value is true no matter what the second grouping is
however I am seeing it evaluate to false so it is currently acting as in the following example
(value OR value) AND (value3)
Johannes schober commented
agreed - it makes it hard to include some (not really) advanced logic
Freeman Fessler commented
Agree. Let's not limit to just RunIf but anywhere they could be used (e.g. Query Filters).
I also would like better string comparison operators.
This is ridiculous! We're talking about basic boolean logic behaviour. How can this be ignored over years?
Michael Niermann commented
I learned that the Boolean binding of "and" is stronger than "or" so this implementation is a bug.
Rob B. commented
I would appreciate this as well, but the way I get around it is just nest another if statement in the parent one.