Run a Flow Only When a SharePoint Item Changes – A Very Simple Solution

I monitor the Power Automate forums on the Power Users Community ( site very closely.  I frequently see community members ask how they can have their Flow run only when a SharePoint list item has changed.  The problem is that there is no trigger that fires only when an item has changed.  There is a trigger that fires when an item has been created and when it has changed, but not only when it has changed.  Many of us have created SharePoint Designer workflows in the past and got used to having the ability in Designer workflows to run a workflow only when an item has changed.

The obvious solution is to compare the created and modified dates and times – if they are the same then it is a new item.  The problem is that there is sometimes a small difference between the created and modified times even on new items.  As a result, comparing them to determine if an item has changed isn’t a reliable option.

I have developed a simple solution to this issue based on version numbers.  The expression that you’ll see at the end of my example simply compares the version number from Dynamic properties to 1.0.  If the version is anything other than 1.0 then it is not a new item and your Flow will run.

Here is a very simple solution to this issue:

  • Turn on versioning in the list if it is not already turned on
    • Go to list settings and click on Versioning settings
      • Version1
    • Set the answer to “Create a version…” question to Yes
      • Version2
  • Create a Flow that starts with a SharePoint “When an item is created or modified” trigger.
    • Click on the ellipses in the top right corner of the trigger an then on settings
      • Settings1
    • Go to the Trigger conditions section at the bottom of the configuration screen and click on “Add”
    • Paste the following into the text box and click on “Done”


        • Expression
  • Save and Test your Flow by creating and editing list items. Your Flow should run only when an item has changed.
  • That’s it!


SharePoint Saturday Atlanta

As promised, here are my slides from my SPS Atlanta presentation: Survival Skills for the SharePoint SCA and Site Owner

SPS Atlanta was a great conference and I hope to return next year.