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

Error Evaluating Branching Condition

Hello

 

I'm receiving the below error. Can anyone point me in the direction as to why that might be please?

 

The switch always seems to pick the right branch but fails.

 

Capture.JPG

 

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
FlowFail
Level: Powered On

Re: Error Evaluating Branching Condition

Okay, did some Googling and found the solution.

 

The form input comes back as a string and it needs to be an Integer to function correctly.

 

First, you make a Compose to grab the string, then you make a second Compose to turn the string into an Integer.

 

This was the code I used:

 

int(outputs('Compose'))
 
That should be it! 👍

View solution in original post

1 REPLY 1
FlowFail
Level: Powered On

Re: Error Evaluating Branching Condition

Okay, did some Googling and found the solution.

 

The form input comes back as a string and it needs to be an Integer to function correctly.

 

First, you make a Compose to grab the string, then you make a second Compose to turn the string into an Integer.

 

This was the code I used:

 

int(outputs('Compose'))
 
That should be it! 👍

View solution in original post

Helpful resources

Announcements
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 (6,365)