Hi all 
Ok, I need to perform a validation in a transistion. I´ve got two Custom Fields:
"FBD" which is a date picker
"Probability" which is a select list (single choice)
This is the logic I am looking for:
If "Probability" = 100%, then I want to validate that "FBD" is not empty (i.e. "FBD" has to have a date).
If "Probability" = 0%, then "FBD" can be empty and in fact, I don´t want to check it at all.
I am going to use Script Workflow Function and if I use this:
cfValues['FBD']
then FBD is always required regardless of the value in "Probability" (since it´s not checked). So I tried OR-ing like this:
(cfValues['Probability']?.value == '0%') || (cfValues['Probability']?.value == '100%' && cfValues['FBD'])
But it doesn´t work
Any ideas?
Thanks guys.