We can use switch in Flows too.
switch
Flow f = new Flow() .inputAs('a', 'b').returnInteger() .var('word = "a"') .doSwitch('word', new List{ 'a', Flow.block().var('output = debug("Matched")'), 'b', Flow.block().var('output = debug("Not Matched")') });Also we can use break in switch blocks.Done
Also we can use break in switch blocks.
break