Hi All,
I have a flow created to send an email when a file is created within any of the subfolders in my OneDrive. It works fine but the issue is, it's sending out multiple emails when a file is created within the subfolders. Here is my flow and Subfolders, Anyone please help me to figure out why the flow is sending out multiple emails? @Pstork1, Any suggestion from the end on this? Thanks in Advance!
My flow suddenly stopped duplicating triggers. Are you still having issues @Santhosh_V_26 ?
That's what I figured. It has to be a bug. I don't believe creating a link to the file should trigger file creation.
It's sending emails via multiple new instances.
I'm already using the Send an email V2, i just renamed it as Notify user via email. I tried with a dynamic HTML body as well. No luck!! : (
Can you check if multiple job runs are being created for your flow or is the duplicate emails occuring in 1 job run?
It appears that creating a link to a file is starting a new job for me, wondering if it's the same for you? In that case, I don't think there is any way to work around this until Microsoft fix this issue.
Not particularly,
Might be worth changing your last step from "Notify Users by email" to "Send and Email (v2 or V3)" and build the body with dynamic content (HTML body) of the new command, just like you did in the original notify command. Might be that step causing duplicates too.
Yes, I conducted a test using the 'Terminate' option, but unfortunately, it didn't resolve the issue. When I make the 'Create a link to the file' step static, there are no duplicate emails received. However, since this step is crucial for obtaining links to OneDrive files, I'm facing a dilemma.
Do you have any advice or suggestions on how to proceed in resolving this matter?
Possibly there is something wrong with that trigger? I'm having the same issue here: https://powerusers.microsoft.com/t5/Building-Flows/OneDrive-When-a-file-is-created-trigger-is-triggering-multiple/m-p/2519234#M281762
My flow has been going strong for 3 years without issue until this week.
Very strange behavior, as if a Loop of some sort is created, though its not apparent in your flow. I wonder if generating a link, or creating a hyperlink to the file could be considered a "file" and create a loop to continue emailing. What happens if you put a Control Step to "terminate" the process after all 8 steps are done? Might "end" the loop as a work around.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.