cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Chicko29
Frequent Visitor

An unexpected exception encountered when evaluating branching condition.

I am trying to run a very simple flow. But I ge tthis error and I do not know why.

 

"The execution of template action 'Update_item' failed: an unexpected exception encountered when evaluating branching condition."

 

Capture.JPGCapture2.JPG

 

1 ACCEPTED SOLUTION

Accepted Solutions
Cologne_Claret
Advocate IV
Advocate IV

I ran into the same problem this week and managed to resolve.

 

I have a flow where I have a response from an approval mail where the response can be a 1, 2, 3, 4 or 5 when I hit the respective button.

 

Switch recognises the 5, which I configured for testing to send a mail, but it failed with the above branching error message when trying to perform the actions under the Switch "Response Equals 5".

 

The problem appears to be that the numeric value should in fact be a string. If you change the e.g. Equals 5 to Equals "5", then it works.

 

Hope this helps. 🙂

View solution in original post

6 REPLIES 6

Can you open up the Udpate item actions in your a screen shots for both edit mode and run mode?

chadhap
Regular Visitor

Were you able to resolve this issue? If yes, what was the resolution.

Anonymous
Not applicable

Dear all,

I also have the same issue.

Can you advise?

I try to attach screen shot but unable to

 

 

@Pieter_Veenstra

Dear all, I have also ran into this issue. If a solution is out there it would be great to see in this thread.

 

Thanks

Cologne_Claret
Advocate IV
Advocate IV

I ran into the same problem this week and managed to resolve.

 

I have a flow where I have a response from an approval mail where the response can be a 1, 2, 3, 4 or 5 when I hit the respective button.

 

Switch recognises the 5, which I configured for testing to send a mail, but it failed with the above branching error message when trying to perform the actions under the Switch "Response Equals 5".

 

The problem appears to be that the numeric value should in fact be a string. If you change the e.g. Equals 5 to Equals "5", then it works.

 

Hope this helps. 🙂

boro
Regular Visitor

This worked. Thank you!

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (2,948)