web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / "When an item is creat...
Power Automate
Unanswered

"When an item is created or modified" trigger doesn't work the first time

(2) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello there!

 

My situation: I found the template "Book a new calendar event after a new SharePoint List item is created" and used it as reference. It uses the "When an item is created" trigger and works perfectly. I also used the "When an item is deleted" trigger and that one also worked. But when I use the "When an item is created or modified" trigger, it only runs when I start it twice.

 

e.g.
I have six items in my list. Then I modify one of them (change some values). After that the flow doesn't get triggered. But when I modify a second item in my list, for some strange reason, the first flow gets triggered and then the second one. It follows that pattern: First one doesn't trigger, second one triggers both.

 

2018-10-12-15-35-13-Window

 

I found several posts which are about the "created and modified" trigger, but no one wrote about what I experience. Any clues why it won't trigger the first time?

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Could you please share a full screenshot of the configuration of your flow?

    First of all, I want to know the configuration of the two actions in if yes. Is the list of the update item configuration and the list of the triggers the same?

    If it is the same, Flow may loop, because Flow will be triggered again after the update item, and then the loop is repeated. Please make sure that the two lists are not the same one.

    I tested the "When an item is created or modified" on my side and used the template you provided, but it didn't appear that the first Flow would not trigger.

    Could you provide Flow's Run history, probably because of a delay, which can lead to such a situation.

    In addition, you could test "When an item is created or modified" separately. Only one Compose action is configured below. Wait a few minutes after each change to the item.

    If there is no problem you mentioned, I think it should be the configuration of the action in If yes.

    It would be helpful if you could post more details and we would provide a proper workaround for you.

     

    Best Regards,

    Barry

  • GabrielStJohn Profile Picture
    Microsoft Employee on at

    Hey, @Anonymous!

    Thank you for posting on the Flow Community Forum! It appears as though @v-bacao-msft would like some more information in order to further assist you properly with your issue. Please share any additional information that was requested in order to decrease the amount of time that it will take for you to be assisted!

    Thank you for being an active member of the Flow Community!

    -Gabriel
    Flow Community Manager

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello Barry,

    Thank you for your reply.

     

    You were right, I tried to update the same item I was modifying and I thought that this might be the problem, so I minimized it to the bare bones, to see what would happen.

     

    Looks like that:

    1.png

     

    Then I modified one item in my list:

    2.1.png

    And nothing happened (Ignore the old runs. They came when I recreated everything):

    3.png

    I waited for a minute to see if it will trigger delayed, but no.

    Then I modified the second item:

    5.png

    And there you go, both runs get triggered. One after the other:

    6.png

    Like I said there is a minute between the modifications of the two items. If I wouldn't modify a second item the first would never trigger. Even though it isn't the same flow I still get the same results, so the problem must be by the trigger event itself.

     

    Then I repeated that several times:

    8.png

     

    I created a workaround by replacing the edit-dialogue in the list with my own from PowerApps. In my App I started a slightly modified flow in the OnSave event. That's almost the same as when I modifiy a item without replacement.

     

    But this doesn't fix the issue itself.

  • swolfsohn Profile Picture
    32 on at

    I am seeing this same behavior across multiple flows. The trigger doesn't seem to go off when I modify one item, but when I modify a second item, both flow runs trigger. It doesn't seem to be an issue every time, but I can't see a pattern in when it does and doesn't happen.

  • gsaplontai Profile Picture
    14 on at

    Hello,

     

    I face exactly the same issue and it's quite annoying because I want to use this flow to create documents. Did you found a fix?

     

    THank you,

    Gabriel

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Same issue here. 

    very annoying. 

  • FlorianTrine Profile Picture
    17 on at

    I am encountering the same issue on a demo tenant.

    In order to trigger a workflow on the event "created or modified", I have to edit two different items.

    If I edit only the first one, I will wait several minutes without seeing anything happening from the Flow side.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Sadly I didn't find a real solution.

     

    The only workaround I found was by replacing the original SharePoint editform with a customized one from PowerApps. In the app you can call your flow with your functions.

     

    But as I said that's not a real solution. I don't want to use a customized app to edit my items.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at
    I moved completely to powerapps and manual triggered workflow. Very sad that the MS team has overseen this bug.
  • Aaronk21234 Profile Picture
    26 on at

    Having the same issue.  Will have to move my trigger from SharePoint "When an item is created or modified" to a PowerApps trigger.

     

    Has something changed?  Is there internal logic to prevent a "When an item is created or modified" infinite loop that is halting or aandoning triggers?  Although I don't want to accidentlly create an infinite loop, I also want the triggers to fire correctly once the loop is handled in the code.  Flow should either reject "...modified" flows that alter the trigger source, or allow looping and require devs to correct as needed.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard