cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nando1
Level: Powered On

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.

 

Microsoft Flow.pngScreenshot

All help is appreciated. Thank you in advance.

Greetings

Nando

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

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
Dual Super User
Dual Super User

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

nando1
Level: Powered On

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

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

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!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,082)