Skip to main content

Notifications

Community site session details

Community site session details

Session Id : ku/zYnFA3myg6FMOfX9vC7
Power Automate - Using Flows
Unanswered

The flow is automatically run twice after every single modification

Like (0) ShareShare
ReportReport
Posted on 13 Nov 2023 12:50:13 by 18

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:

xnguyen7_0-1699879638901.png

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,

 

 

  • Community Power Platform Member Profile Picture
    on 22 Nov 2023 at 11:09:17
    Re: The flow is automatically run twice after every single modification

    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.

  • xnguyen7 Profile Picture
    18 on 20 Nov 2023 at 11:40:03
    Re: The flow is automatically run twice after every single modification

    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:

    xnguyen7_0-1700480345798.pngxnguyen7_1-1700480351365.png

    I am so confused right now since it doesn't make sense at all 😥

  • SriniK Profile Picture
    3,025 Super User 2025 Season 1 on 13 Nov 2023 at 14:52:51
    Re: The flow is automatically run twice after every single modification

    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"?

     

    Srini007_0-1699887160445.png

     

    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

  • xnguyen7 Profile Picture
    18 on 13 Nov 2023 at 14:34:32
    Re: The flow is automatically run twice after every single modification

    Here you go @Srini007 

    xnguyen7_0-1699885901673.png

    xnguyen7_1-1699885910258.png

    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.

     

  • SriniK Profile Picture
    3,025 Super User 2025 Season 1 on 13 Nov 2023 at 14:26:55
    Re: The flow is automatically run twice after every single modification

    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

  • xnguyen7 Profile Picture
    18 on 13 Nov 2023 at 14:22:30
    Re: The flow is automatically run twice after every single modification

    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,

  • SriniK Profile Picture
    3,025 Super User 2025 Season 1 on 13 Nov 2023 at 14:14:24
    Re: The flow is automatically run twice after every single modification

    Hi @xnguyen7 

     

    Check below post for your reference

     

    https://powerusers.microsoft.com/t5/Using-Flows/SharePoint-List-Item-Created-Or-Modified-Flow-Runs-Twice/td-p/275351

     

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Using Flows

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 7 Super User 2025 Season 1

#1
rzaneti Profile Picture

rzaneti 7 Super User 2025 Season 1

#3
CU20032117-0 Profile Picture

CU20032117-0 4

Overall leaderboard

Featured topics

Restore a deleted flow
Loading started