cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Prevent a flow from triggering again if it has been triggered recently.

I have an automated flow that sends an email every time a change is made in a SharePoint Excel file. This is to notify me when someone updates the file with new weekly information.

 

However, sometimes other users will save the file three or four times when updating one piece of information, so I will get three or four emails in the span of fifteen minutes.

 

Is there a way to prevent my flow from running again if it has just recently been triggered, say in the last hour?

 

My flow uses "When a file is created or modified (properties only)" to trigger "Send an email (V2)".

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User III
Super User III

Hi @Anonymous 

 

In this case you can't prevent flow to trigger for the last one hour or using other conditions.

 

What you could do is think about running the flow using some other trigger say for example to use scheduled interval runs every hour or so, then use Get Items from SharePoint filtered by created on or modified on date for the last one hour using UTCNow expression function to filter the records.



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

1 REPLY 1
abm
Super User III
Super User III

Hi @Anonymous 

 

In this case you can't prevent flow to trigger for the last one hour or using other conditions.

 

What you could do is think about running the flow using some other trigger say for example to use scheduled interval runs every hour or so, then use Get Items from SharePoint filtered by created on or modified on date for the last one hour using UTCNow expression function to filter the records.



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (20,917)