Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

"When an item is created or modified" running when there are no changes

(0) ShareShare
ReportReport
Posted on by 10

I have a number of flows, each pointing at a separate SharePoint list, which run at all times of the day and night even though no changes have been made to the lists.  Are there any common causes for this?  The lists are very small (2-10 entries) and contain the key contacts for each SharePoint site (department).  The lists probably only change, via manual entry, a handful of times throughout the year.  There are no other flows pointing to the lists.

 

The flow's design is to detect any changes and then pull updated user fields from Azure AD and write them in special fields in the list.  When I check for list changes, I only see my own entries as making changes, because I am the owner of the flow.  I am not manually editing any of the lists.

2020-07-14_100726.jpg

I've opened a ticket with Microsoft but they are "still researching".  I was just wondering if there might be common causes for something like this.

 

Thanks.

  • ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    Re: "When an item is created or modified" running when there are no changes

    I marked it as Solved for you.

     

     

  • Ukiman1014 Profile Picture
    on at
    Re: "When an item is created or modified" running when there are no changes

    Thanks for the explanation, Scott!  I've learned a little more about how SharePoint works.

     

    BTW, I can't seem to mark my post as "solved".  This is all I see when I look at the options for this post or for you replies. 🤷🏻‍♂️

     

    Options for your repliesOptions for your replies      Overall post optionsOverall post options

  • Verified answer
    ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    Re: "When an item is created or modified" running when there are no changes

    @Ukiman1014 

    The magic in the solution is the use of a multi-line text column configured as an "append text" column.  Every time there is an edit to the item, SharePoint clears out the value - you don't need to worry about it.  The values of previous edits are stored in the version history - that's why you have to have versioning turned on to configure a column in that way.

     

     

  • Ukiman1014 Profile Picture
    on at
    Re: "When an item is created or modified" running when there are no changes

    Hello Scott,

     

    Yes, that did solve the issue!  Genius!  I understand that the flow writes a value into the "StopRun" field, but I don't understand how the field is cleared when a user makes and edit.  Can you briefly explain?  I am making the assumption it has something to do with turning on versioning and making it multiline.

     

    Thank you again for your help!  As a side note, Microsoft closed the ticket on me with no resolution.  (Grr 😡.)  They obviously had no idea what to do with it.  Actually, from their email signature, they seemed to be an outside company contracted by Microsoft.  I sent them a bit of a nastygram back but I also pointed them to this solution, so maybe they won't bug out on someone else next time, haha.

  • UkiMagic Profile Picture
    10 on at
    Re: "When an item is created or modified" running when there are no changes

    Hi Scott,

     

    I did think about that, but the flow only seems to fire a few times and then it stops for a number of hours and then starts again.  Is it possible that it's all still the same infinite loop?  I will try your suggestion and see if it fixes the issue.

     

    Thanks!

  • ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    Re: "When an item is created or modified" running when there are no changes

    @UkiMagic 

    You have an infinite loop - the flow fires when you update an item.  The Flow then updates the same list item causing the Flow to start again......

    The is a very simple technique that you can use to avoid infinite loops.  Please see my blog post where I explain the technique.

    If you copy the expression in my blog post, be sure to replace the quotes with single quotes as I explain in the post.

     

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow