I have number of pallet conveyors at the facility. I am building a button to allow the user to change the destination of a pallet uing a db update query.
I only want this button to be visible when a pallet is located on a specific set of conveyors.
There's no json or sql involved here. It's only an expression, which is an ignition thing. See the link posted by Felipe above.
Do not confuse it with python (actually, jython), which is used for scripting.
You'd use or in python, and || in expressions.
Which you should be careful not to confuse with |, which has the same meaning in both python and expressions.
or and || are a logical or, used to check if at least one of 2 operands is true. | is a binary or, used to do a bit wise processing of 2 operands (b1010 | b1001 results in b1011)