How to use switch in workflow.

Varsha
Tera Expert

I have a requirement, I have a field "Type of Request" which is a dropdown field in my catalog item.I have 5 type of request .Based on type of request I have different workflows. So i have used switch statement. But for first 2 request type it is working properly but for the last 3 type of request, switch is not working properly.Can any one please help me with how to use switch in workflow.

6 REPLIES 6

Allen Andreas
Administrator
Administrator

Hi,

Can you please explain further as to why it's not working for the other 3 choices?

When you use a switch in a workflow, as you drag and place it on the canvas, it'll automatically show all available choices as possible paths.

So you should see 5 choices there with the ability to then build off of those.

Please share a screenshot.

Thank you!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Just to add further, make sure you check the condition value of the conditions that are being created. It should look like activity.result= something.

Hi Kalai,

 

Condition is already added.Please find the screenshot

Hi Allen,

 

Please find the screenshot of my workflow.It is working for first 2 condition but it is not working 3 and 5th one.