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

An unexpected exception encountered when evaluating branching condition

Dear all,

I have flow which get share point list items.

Then loop in all items in the list to compare column value (single line text) in switch.

However, one action of sending email in one switch case.

ActionConditionFailed. The execution of template action 'Send_an_email_(V2)' failed: an unexpected exception encountered when evaluating branching condition.

 

Capture.JPG

3 REPLIES 3
Highlighted
Super User III
Super User III

Re: An unexpected exception encountered when evaluating branching condition

@Generalstratos 

Can you post a screen shot of your Flow in edit mode please - that will be a big help to those trying to assist.

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
Highlighted
Frequent Visitor

Re: An unexpected exception encountered when evaluating branching condition

Here is the screen captured in edit mode.

Capture1.JPG

Highlighted
Frequent Visitor

Re: An unexpected exception encountered when evaluating branching condition

Hi @ScottShearer ,

I found the solution to issue.

Switch only work with input condition of Int and String datatype.

I cast input to Int, then it work fine.

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Users online (8,122)