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
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (3,887)