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

Community site session details

Session Id :
Power Automate - Using Connectors
Unanswered

Sharepoint When a file is created or modified (properties only) Trigger Delay

(0) ShareShare
ReportReport
Posted on by 2

Hi all,

 

I've been working on a flow to update some custom columns in a document library.  It uses the When a file is created or modified (properties only) Sharepoint trigger.  The issue I've been having is that the trigger sometimes has a long delay, only running an hour or two after a change was made.

 

Flow Details:

 

Specifically, we have a file naming convention of the following format:

 

<code 1>-<code 2>-<code 3>-<code 4>-<code 5>-<file number>-<file description>

XX-XXX-XX-XXX-XX-0004-ShortFileDescription

 

Basically, we have custom columns in the document library to hold codes 1-5 and file description, and the flow needs to update them whenever a file is renamed.  I also have a custom column called Old_Filename, which holds the file's previous name.  This is used in a trigger condition to make sure the flow only runs when a file name has changed:

 

@not(equals(triggerBody()?['{Name}'], triggerBody()?['Old_Filename']))

 

Basically, the flow gets a file modification/creation, splits the filename into an array of its component parts, then updates the custom columns in the library with the new values:

 

DSattelberger_0-1677270067843.png

DSattelberger_1-1677270307899.png

 

Error Details:

 

I've been looking through the troubleshooting options in this page.

 

We are on the basic O365 plan, no Premium, etc.  It doesn't seem to be throttling, as it will run immediately if I manually resubmit a previous run.  For a while during testing, it wasn't turning up any checks at all, skipped or no, even in cases when it ran successfully (though some have started appearing in the last 20 minutes).

 

DSattelberger_2-1677270755250.png

 

When I peek code out polling trigger interval is supposed to be set at every 5 minutes:

 

DSattelberger_3-1677270849905.png

 

Any help would be appreciated.

 

Thanks!

 

 

Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at
    Re: Sharepoint When a file is created or modified (properties only) Trigger Delay

    Apart from the annoying delay, is there an actual error with your flow?

     

    All these "triggers"  are not really triggers. They are lots of little polling machines that ask the source "has anything changed?"  "How about now?"  etc. incessantly.

  • DSattelberger Profile Picture
    2 on at
    Re: Sharepoint When a file is created or modified (properties only) Trigger Delay

    It has no errors, no, and as far as I can tell, for every case in which it's supposed to run it does do so eventually.  However, the PM is worried that the 1-2 hour delay will introduce errors from users further down the line.  We use the little codes to filter the list of existing filenames in a PowerApp, and they're worried users might use an existing filename because they don't realize it's already been used.

     

    As far as I can tell from the Peek Code, the polling trigger is supposed to check every 5 minutes, which would be fine, but given the delay it doesn't seem to be doing that.

  • lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at
    Re: Sharepoint When a file is created or modified (properties only) Trigger Delay

    I think somewhere in the documentation there is mention of the SLA for this kind of stuff.  I don't think you'll find more than "best effort".  If you need a more reliable solution, look elsewhere.

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

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 544 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 482 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 287

Last 30 days Overall leaderboard

Featured topics