cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PVLove
Helper I
Helper I

Email Fails With Multiple Conditions in Flow

Hello All!

 

I'm new to Power Automate/Flow and failing miserably!

 

I'm building a flow that sends an email to a specific user when an item in a document library is modified. An email should be sent when multiple conditions for that item are completed. The email fails with the following error, "ActionBranchingConditionNotSatisfied. The execution of template action 'Send_an_email_(V2)' skipped: the branching condition for this action is not satisfied." I created the same workflow in SharePoint Designer 2013 and it works perfectly. I don't know what I'm doing wrong, but I cannot duplicate it in Flow/Power Automate.

 

Thank you for your assistance, suggestions, etc.!

PVLove

 

FlowDemo1.pngFlowDemo2.png

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User
Super User

Hi @PVLove 

 

Thanks for the screen share. The steps we did is as follows:

 

1. Change the trigger to Schedule run.

2. Get SharePoint Library details

2. Send email

3. Update SharePoint Column

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

7 REPLIES 7
abm
Super User
Super User

Hi @PVLove 

 

Most likely your issue must be related to condition. I can see there are three conditions to satisfy for sending an email. What are the data types for these field names? If it's a string data type use single quotes around to compare the value?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials
v-alzhan-msft
Community Support
Community Support

Hi @PVLove,

 

Please explain the column type in the Condition as @abm asked and please explain your Condition.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Good Morning @abm,

Thank you for replying. The Conditions on the flow are below.

Employee > is equal to > Employee Email;
Review Date > is equal to > Review Date Value;
Receipt Type > is equal to > Receipt Type Value

 

The process for the flow that I'm trying to set is as follows:
The Admin uploads a file to a document library; adds data to the Employee, Review Date & Receipt Type columns, which should trigger an email to the Employee for the selected file. Does that make sense? Is that the information you need/requested?

 

Thank you,
PVLove

Like I mentioned earlier you need to check the type (string, numeric, boolean, etc) of your field you are comparing.



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

I'm not sure what you are asking, but here goes.

 

triggerBody()?['Employee'] is equal to body('Get_file_properties)?['Employee']?['Email']

triggerBody()?['Review_x0020_Due_x0020_Date'] is equal to body('Get_file_properties)?['Review_x0020_Due_x0020_Date']

triggerBody()?['Receipt_x0020_Type'] is equal to to body('Get_file_properties)?['Receipt_x0020_Type']?['Value']

 

PVLove

Hello @PVLove

What @abm is asking for is the type of value from the SharePoint list.

If you go to SharePoint in that list that you are using. You can check which each column is expecting. For example:

In a name field, when filling out a new item may only allow characters(string) as a value.

Age column might be formatted as integer, so only whole numbers are allowed.

—Josh
If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others

Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





abm
Super User
Super User

Hi @PVLove 

 

Thanks for the screen share. The steps we did is as follows:

 

1. Change the trigger to Schedule run.

2. Get SharePoint Library details

2. Send email

3. Update SharePoint Column

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

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.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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 (2,127)