Switch Statement in Flow Designer

Alex Edmiston1
Giga Guru

What is the best way to replicate the switch statement functionality of Workflow in the new Flow Designer? I've briefly looked into decision tables but can't tell if that is the best way to do it in Flow... it would certainly take a lot more time to setup. 

3 REPLIES 3

Matt Taylor - G
Giga Guru

It appears the Make a Decision flow logic is intended to replace the switch statement in Workflow and make it more efficient. You can call a Workflow from Flow Designer on Madrid if you already have a published Workflow whose switch statement functionality you want to re-use.

More information about calling a Workflow in Flow Designer can be found here.

More information about the Make a Decision logic can be found here and here.

The Flow Designer release notes, found here, may also help direct you to what your options are.

 

Please mark helpful/correct if this answered your question.

Thanks. I also asked the ServiceNow team about this and they said either use the make a decision logic or use multiple If statements depending on the amount of logic required. Hoping an easier way comes in New York as switch statements were very easy to setup. 

CJPeterson
Tera Expert

Hi, Could you share any advice on this? 

Did you have to create new decision table?