cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FlowFail
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
FlowFail
Helper II
Helper II

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

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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,899)