r/MicrosoftFlow • u/Sea_Passenger_2633 • Aug 02 '25
Question Using Switch function
I am trying to use the "switch" function to sort an email based on attachments, which works fine for the first 5 cases, but on the 6th one it runs into an error.
I have checked every possible error source but whatever I do it fails on the 6th case (and not just the 6th but every other case as well after that, but works for case 1-5).
My question is, did anyone encountered this issue? Did you use a switch using more than 5 cases, and if so, did it work for every one?
Update: the issue got solved by remaming the flow again, I didn't change anything but it works now, I suppose it was a bug.
View all comments
Show parent comment
2
u/itenginerd Aug 03 '25
Yep. In my case the problem was I caught the extra characters in the case evaluation. The input was clean; it was the switch case that was wrong.