Workflow 'AND' or 'OR' Condition

Hi All, in the workflow module, when adding conditions are these AND’d together?

How would I create an OR arguement in there?

EG the logic I want to run would be: IF Field A =X, Or Field B=Y, OR Field C=Z then run the Action

There is no such logic in workflow. It’s only “and”. Perhaps you can make 3 workflows…

If A and action has not happend
If B and action has not happend
If C and action has not happened

Will essentially give you your “or” condtion if I understand correctly.

I have been pointed at the ifthenelse logic in calculated fields for this, just strguggling with the syntax now.

This doc will help:

Yeah I’ve got this, but the syntax description is a little wooly for someone who;s not coded for quite a qhile, plus no mention of how best nest functions, or whether text based drop down options need to be enclosed in quote marks etc.
I am busy trying various options now, buit have succeded yet!

The syntax for calculated fields is a bit wonky and and get’s complex really fast. I never thought about using calculated fields logic. Interesting approach. Before I’d do that (the syntax is a huge headache), I’d just write a custom before save hook, much easier.

One solution to this ( a bit messy though) will be to create multiple workflows with same actions

For example one workflow with condition Field A =X and actions
2nd workflow with condition Field B=Y and actions
3rd workflow with condition Field C=Z and actions

this essentially works as OR condition