cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
seannaber
Regular Visitor

Flow to send notification of file being edited, but don't run EVERY time it's edited?

Hello,

 

I'm trying to set up a flow to notify (via slack) when a shared file on onedrive has been modified and by whom. It works great, but I don't want it to send a notification EVERY time the file is edited (the file is edited over and over again at some times). Maybe once per hour if it's been modified within that hour. Any suggestionsScreen Shot 2019-01-16 at 5.37.19 PM.png

3 REPLIES 3
v-bacao-msft
Community Support
Community Support

Hi @seannaber,

 

The file's attributes only contain the time of the last change, so it is not possible to directly determine whether the time interval is 1 hour by the file attribute. 

I am afraid there is currently no way to achieve your needs.

If you want MS Flow to have similar features, you could post this idea in the Flow Ideas forum, so it might be considered for future releases.

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hmm, that's too bad. Is it not possible to start with an hourly occurance which checks if the last modified date was within an hour of the current time? And, if it was within the past hour, send out a notification?

 

I appreciate the response, @v-bacao-msft!

Hi @seannaber,

 

The approach you mentioned is closer to solve your needs.

But there still seems to be some problems.

Because the time interval between file updates is short, the result of Condition judgment may always be false.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (4,767)