HOW to say "OR" in a formula?

I cannot figure out for the life of me how to make a formula that does a certain thing in an either/or scenario.

For example, in a filter for a data variable I want to use something like userId equals user1Id OR user2Id

How to specify if/or/else in formulas?

conditionOne||conditionTwo

So this one:||

3 Likes

Really? I have been nesting IF functions! I never knew this - I will have to try it out.

2 Likes

You can even do for example a logic where you have a button > two different actions: pick image from library, take image > and finally resize image flow. Now add both outputs of the previous to the resize image flow and bind the path to a formula. Output of the pick image.path||output of the take photo.
It will recognize which one is not empty and use that.

1 Like

|| is OR
&& is AND
== is EQUAL
!= is NOT EQUAL

6 Likes

I´ve been driving with the handbrake on …

1 Like