Syntax for "is not in"

I am trying to use the “is not in” statement in an Only when field, but I don’t understand the syntax fully. To start with I have an option set called Suite. It contains four options: spades, hearts, diamonds and clubs. This option set defines what can be put into the custom state SuiteContract on the page. The statue Suite is NOT a list so it can only contain one of the four values.

I would now like to create an action that triggers only when the state SuiteContract is NOT diamonds or clubs, so it should only trigger when the state SuiteContract is either spades or hearts. So I am looking for something like “is not in (diamonds, clubs)”

So, I try the statement “deal’s SuiteContract is not in diamonds:converted to list”, where diamonds in the statement is selected from the Suite option set, not written manually, and that works fine. However, I don’t understand how I also get the clubs in there, so that I get the OR statement I am looking for.

One way:

:filtered :advanced will get you to add the OR operator

Wow! After some fiddling around I now understand how it works. Thanks a lot!

1 Like