11 Replies Latest reply: Dec 22, 2017 3:20 PM by ogelbric RSS

workflow if/else example

joel.cason

I'm having trouble trying to integrate (what I think should be) a simple if/else statement in a workflow.  The documentation on this seems pretty lacking.

 

I created a new workflow called ifelsetest with a user input of catalog as "SelectOS".  I want to do an if/else based on if this input contains "Win."

 

So far every time either the if/else statement fails when it runs, or it always evaluates to false even when the Select OS category is something like "Window 2008".

 

What should the evalutation statement be to execute this?  If I try SelectOS contains "Win" it evaluates false.  I've also tried ifelsetest SelectOS contains "Win" which just fails to execute.