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 suggestions
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.
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!
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.
Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.