Hi there,
I am struggling to run the flow with email sending out after certain conditions are met after item is modified. After saving my modification for one single item in the list, the flow keeps running twice and resulted in spamming the receivers with 2 identical email. More details can be obtained in the picture below:
Can you please advise what the problem behind and what I should do to fix it to run only once after modifying the item?
Your help is truly appreciated.
Regards,
Hi @xnguyen7
Your problem can maybe be solved by modifying the Trigger Conditions (Sharepoint Trigger -> Settings) with a sentence similar to this one:
@not(equals(triggerOutputs()?['body/modifiedon'],triggerOutputs()?['body/createdon']))
This one only works for a flow that runs twice on creation, not your case but maybe you can find the right sentence.
Let me know if you do, please.
Hi @Srini007
I corrected the flow as you suggested, to use Modified items trigger instead of when item is created or modified. However, it stills keeps running the flow twice as the initial flow.
You can see detail in the pictures below:
I am so confused right now since it doesn't make sense at all 😥
Hi @xnguyen7
As you are facing issues when you are modifying the list item, can you try with Trigger "When an item or a file is modified" instead of "when a item is created or modified"?
If you find this reply helpful, please consider giving it a LIKE AND
If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION
Regards,
Srini
Here you go @Srini007
The modification is applied for the overall status field in my list. Once the field is approved and the box for sending notification is marked, then the email will be sent out. The condition works well but it just doesn't make sense for me why it keeps running twice, either when the condition is true or false.
Hi @xnguyen7
Can you provide some screenshots of your flow and which value your are modifying?
If you find this reply helpful, please consider giving it a LIKE AND
If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION
Regards,
Srini
Hi @Srini007 ,
It seems like I didn't describe my problem clearly. I set up the flow and it runs well. However, theoretically It should run only once after I modified the item only. I do not understand it keep running twice for every time I modified the item. It didn't ended in infinite loop like the reference you provide but exactly two time after every modification.
Can you explain why I faced this issue and how I should fix it?
Regards,
Hi @xnguyen7
Check below post for your reference
If you find this reply helpful, please consider giving it a LIKE AND
If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION
Regards,
Srini
Michael E. Gernaey
7
Super User 2025 Season 1
rzaneti
7
Super User 2025 Season 1
CU20032117-0
4