odd that it's failing, I have created case switch that works in other flows... am I missing something?
For me to troubleshoot I have super simplified the case and actions to just a notify.
I get rows from SQL (filtering to 1 row for this troubleshoot)
I am switching case based on a location field (in this case the number 10)
if the switch is gone, everything else has been working... but that doesn't help when there may be hundreds of rows of data.
Solved! Go to Solution.
I found the issue.
the switch will only work with columns of datatype INT....
not sure exactly why it was failing, but I altered the view to change the value I was switching on to INT from varchar and it worked fine...
It isn't the switch that is failing as the notification is failing. Ohterwise the notifdication step wouldn't run. Can you show the notification action details in edit mode.
Yeah, it looks like it's going through the switch, but I've removed the switch and it's worked... I'll attempt again real quick and send the results
here it is currently
all I did here was move the notification out of the switch branch and it worked fine.
while the exact same notification (this time in location 15) failed while inside the switch branch
I just reproduced this problem. i would add this to the I found a bug section
In the meanwhile I would use send an Email actions
I'll move it over to a bug thread, but this notification wasn't the only thing failing inside the switch.
the notifications were just used for troubleshooting.
what baffles me the most is I have a working switch I also made yesterday in a different flow.
That doiesn't make sense. I'm sure I have sent emails inside a switch before.
Can you try exporting the flow and then importing it as a new flow. That way the connections should be reset.,
it doesn't even have to be emails
I found the issue.
the switch will only work with columns of datatype INT....
not sure exactly why it was failing, but I altered the view to change the value I was switching on to INT from varchar and it worked fine...
I've been having issues with this all day. So glad I found this! Thank you!
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
45 | |
42 | |
36 | |
36 | |
22 |
User | Count |
---|---|
41 | |
31 | |
29 | |
28 | |
26 |