I am trying to create a flow on a sharepoint list to check if the created item has an attachment or not.
If the item does not have an attachment and email will be sent.
I have created the following condition @equals(triggerBody()?['Attachments'], 'false') but the flow does not send the email.
I get the following error on the send email action : ActionBranchingConditionNotSatisfied. The execution of template action 'Send_an_email' skipped: the branching condition for this action is not satisfied.
Do you want to check if a list item has attachment?
Could you show me the screenshot of your flow to reproduce this issue on my side?
I have tried this and I still get the same error when trying to send the mail if the condition is true.
"ActionBranchingConditionNotSatisfied. The execution of template action 'Send_an_email' skipped: the branching condition for this action is not satisfied."
I am afraid your scenario might not able to be achieved. Currently, Flow cannot detect attachment in a list. Please consider to vote this similar idea at here:
Not sure if you got a solution for this. I was trying a workflow which required to check if there is an attachment available in the item and was able to work it out. Seems MS has rolled out something which was not present earlier. There is a dynamic content called "Has attachments" now which checks if there is an attachment available, the expression would work as follows
The Update_item was a previous action I called, so it could be any action which can call the item.
Three Super User rank tiers have been launched!
Features releasing from October 2020 through March 2021
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!