cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

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
Highlighted
Helper II
Helper II

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
Highlighted
Helper II
Helper II

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
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

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

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (5,097)