The high-level goal is to copy files to SharePoint sites after they have been created in a on-prem file share, then send out a single email after the flow completes. However, the flow is running multiple times (per the history) and generating an email each time.
My flow is triggered when a new files are added to a file directory. There will be 2 separate files typically, both created within seconds of each other. The For Each loops check the file name and create/copy the file to the appropriate SharePoint library. Finally, a "completed" email is supposed to be sent out to a group of business users.
But that email is being send 3 times. I understand idea that the flow is running multiple times because multiple files are being created in the local folder, but is it possible to only have it run once (assuming the files are created within a few seconds of each other)?


Report
All responses (
Answers (