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 / SharePoint when an ite...
Power Automate
Answered

SharePoint when an item is created or modified trigger does not run on all versions of an item in a list

(0) ShareShare
ReportReport
Posted on by

I've notice in several of my flows when using the SharePoint when an item is created or modified trigger, it does not run on all versions of a list item. It seems to be when the item is edited more than once in a couple of minutes, the flow only runs on the latest version. How do I ensure the flow runs on all versions of a list item?

 

For instance, you can see this item was edited twice at 3:13 (version 4.0 and 5.0) - 

MeganSP_1-1699968107647.png

Looking at the flow instances, it skipped version 4.0 - 

MeganSP_2-1699968192799.png

 

Categories:
  • Verified answer
    michael0808 Profile Picture
    304 on at

    This is normal behavior for this trigger. If PA detects multiple actions on a single item within a short period, it will merge the changes and execute once.

     

    Edit: @MeganSP 

    Another way you can possibly avoid this behavior is to create a manual trigger button on your list.

     

    1. Create an instant flow with a "For a selected item" sharepoint trigger.

    michael0808_5-1699996039283.png


    3. Create a text column and leave it blank.

    michael0808_0-1699995624920.png

     

    4. Open the column formatting settings

    michael0808_1-1699995664973.png

     

    5. Switch to Advanced Mode

    michael0808_2-1699995712972.png

     

    6. Enter the following JSON formatting to create a trigger button. (Change FLOW ID HERE to the ID of your flow)

    michael0808_6-1699996090086.png

    {
     "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
     "elmType": "div",
     "children": [
     {
     "elmType": "button",
     "txtContent": "Trigger Flow",
     "customRowAction": {
     "action": "executeFlow",
     "actionParams": "{\"id\":\"FLOW ID HERE\", \"headerText\":\"Trigger Flow\",\"runFlowButtonText\":\"Trigger Flow\"}"
     }
     }
     ]
    }


    Finally, you have buttons. When you make changes, you can run the flow on demand for that particular item.

    michael0808_7-1699996204439.png


    Hope this helps!

  • MeganSP Profile Picture
    on at

    It does not merge the changes. I downloaded the output for the trigger on the version 5.0 run and it shows the details from the changes from the 5.0 version only. I need to run certain actions on each version based upon fields changed and the person modifying the item. If it doesn't run on each version, then certain notifications and actions are missed all together. Is there any way around this?

  • michael0808 Profile Picture
    304 on at

    See my edited post, I modified it just as you replied 🙂

  • MeganSP Profile Picture
    on at

    Interesting approach... Is there any way to automate the push of the button (essentially the initiation of the flow) upon saving the updates to the item? When you press the button, you get an extra prompt to run the flow. Can you bypass the extra prompt?

     

    I noticed in the new designer there is an option on the when an item is created or modified trigger, there is the option to choose settings on how often do you want to check for items. It defaults to 3 minutes. I tried changing it to a shorter interval, but it changes it back to the 3 minute default. If I could change this to 15 seconds, that would for the most part solve my problem.

    MeganSP_0-1700059362641.png

     

  • michael0808 Profile Picture
    304 on at

    No, unfortunately you cannot bypass this behavior.

     

    What you can do is make the modification of the list, and the running of the flow a singular step. You simply add inputs to the flows trigger in Step 1, which will appear on that side panel when the button is pressed.

     

    Make the List Read Only, and give users Run Only access to the flow using your connector. 

    This will prevent the user from modifying the actual list as the flows inputs can be used to update the list.

    Hope this helps.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 424

#2
11manish Profile Picture

11manish 328 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard