How to use switch in workflow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2018 05:37 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2018 05:41 AM
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2018 05:48 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2018 06:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2018 06:25 AM
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.