cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

Got an error after working with switch cases

Hi Flow Community,

 

I'm experiencing some problems with a Flow working before. I use a Switch- case to evaluate which path to take. The switch is working as expected, but the follow up condition doesn't trigger. All Upcoming actions are ignored to. It has a skipped Status though the condition seems to be met. Screenshot below.

 

ScreenshotScreenshot

All help is appreciated. Thank you in advance.

Greetings

Nando

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User II
Dual Super User II

Re: Got an error after working with switch cases

I think the problem is that you are trying to evaluate a GUID as though it were a string.  I've always had issues when I tried to do that.  Can you use the guid(string) function to cast your target as a GUID to make sure you are comparing two guids?



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
Highlighted
Dual Super User II
Dual Super User II

Re: Got an error after working with switch cases

I think the problem is that you are trying to evaluate a GUID as though it were a string.  I've always had issues when I tried to do that.  Can you use the guid(string) function to cast your target as a GUID to make sure you are comparing two guids?



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Highlighted
Advocate I
Advocate I

Re: Got an error after working with switch cases

Hi,

thank you very much for your quick response. It does work now if I cast the string function in my condition.

Didn't think this wold be a problem.

Thank you sir!

Have a nice day!

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (4,805)