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 / Preventing a Modified ...
Power Automate
Suggested Answer

Preventing a Modified Trigger When my Flow Renames an File

(0) ShareShare
ReportReport
Posted on by 643
I have a flow that when a file is modified it renames the file to include the new version number. Once the flow is complete the Version number is on the end of the file name and it matches Sharepoint. However the flow triggers again and keeps up issuing the version and renaming the file.
 
Here is my flow.
 
 
What Filter can I add? Can i add something that will prevent the file be updated in the last 5 minutes ignore?
 
Categories:
  • Suggested answer
    David_MA Profile Picture
    15,705 Super User 2026 Season 2 on at
    You can add a trigger condition to your flow to see if the current date/time is more than five minutes after the last modified date plus five minutes: @greater(addMinutes(triggerOutputs()?['body/Modified'], 5), utcNow())
     
    If not, the flow will not run. You can learn about trigger conditions at Power Automate Trigger Conditions - SharePoint & Microsoft Power Platform Tutorials - SPGuides

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
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard