Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

If function in workflow

SOLVED
Go to solution
Highlighted
Andy McMahon_1
Collector

If function in workflow

I have the need to build into my workflow:

If "Field1" is Yes ---> Transition to step 2
if "Field1" is No ---> Transition to step 3

I know there's a way to do this, but I cannot recall the proper way to do so. Any help would be great.
3 REPLIES
Jim Esler
Honored Contributor
Solution

Re: If function in workflow

The easiest way to do this is with a workflow step source using Execution Type Token. The validation is set to the same value as the field and the execution is just the field token, [REQD.P.FIELD1].

More complex decisions can be set up with SQL Statement execution type workflow steps. Values can be set with decode functions or case statements.
Andy McMahon_1
Collector

Re: If function in workflow

Got it, but for whatever reason, it's not allowing me to choose the validation I'm using with the field. The validation I'm using is the OOTB validation "Radio Buttons (Y/N)"

Do I need to create a validation?
Andy McMahon_1
Collector

Re: If function in workflow

Thank you! that works!
//Add this to "OnDomLoad" event