
Announcements
Hello,
Ive buit a flow that has been used extensively, however I am running into an ongoing issue where people are forgetting to attach a document (.xlsx file) in the attachment feild.
Ive been looking for solutions on the board however cant seem to find an answer.
What i want to do is enable the flow to find the attachment first, and if it exists, then proceed with the rest of the flow. If not then it would not go any further and send an email to the requestor letting them know they need to attach and resubmit.
Hi @Anonymous,
I'm afraid I can't see the screenshots you provided in particular, but if you want to determine if the list item contains attachments, the method is basically the same.
You could use Get attachments to get information about item attachments.
Then use empty() function to determine if the output of Body is empty. If it is empty, the attachment does not exist and the mail is sent.
empty(body('Get_attachments'))
If it is not empty, continue with the following action.
Image reference:
Please take a try.
Best Regards,
Barry