I created a flow where the trigger is the creation of a file in sharepoint which will then start a chain of approval from manager.
It seems that when one file is uploaded into sharepoint, two flows (flow 1a & 1b) are created which then creates two email request for approval to the manager for the same item.
Sometimes, the flow runs perfectly with only one flow when file is uploaded into sharepoint.
I can't seems to nail down why double notification is created.
Appreciate any possible help here.
Thanks for sharing the detailed information on the flow. I have made a similar flow to test this issue on my side.
Then I tried to add a new file or modify an existing file to trigger the flow, the issue you mentioned didn’t happen on my side. There was only one run for each trigger.
When there are two runs for one trigger, have you did any special actions on the file? Is it a new file or an existing file?
I will make more test on my side to see if it will happen.
After the approval condition, there's additional action steps that involves a second level approval. If accepted, the file will be created in another folder and current file deleted.
For the problem that i'm facing, the flow gets triggered twice and for both flow, the process runs until the first approval (which is pending the approval from the manager)
I can only think that the current file gets modified after it has been created in sharepoint (and hence, created a second flow)
But cant seems to find anything that creates this second trigger.
To add further information, i tested this with two users. One of them seems to work fine while the other seems to create duplicate flow.
Any possible reason for this?
Keep up to date with current events and community announcements in the Power Automate community.
A great place where you can stay up to date with community calls and interact with the speakers.
Check out the latest Community Blog from the community!