UiPath's Switch statement/activity -- using a string variable -- is broken

Using a Switch activity, I changed it’s TypeArgument to String, and for a long while now, your Switch activity has been broken, erroneously matching the Default case every time – despite matching a non-default case!

You can clearly see the debugger’s focus is within the Default case, yet the variable I’m switching off of matches a different case.

Hi @h.doug

In Switch Case you need not give the case between double quotes. You can just give Response Card and try running the flow. It should work. Please remove double quotes placed for all cases in the names and run you workflow.

Regards

ugh…thank you.
Why they chose to stray from conventional use of double quotes that’s used all over the place, like during Assign activities and all string comparisons, I don’t flipping know… :man_facepalming:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.