cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
norbelnavarro
New Member

Reset Recurrence flow if action takes place

I need to create a Recurrence flow, which is monitoring if a specific file under my sharepoint document library is updated/modified... if file is not modified within say 90 days, flow needs to send an email to document owner... However, if file is updated before 90 day timer expires, then a new 90 day timer will start when document is modified.  Any advise/recommendations will be greatly appreciated.

1 REPLY 1
Highlighted
Super User
Super User

Re: Reset Recurrence flow if action takes place

Hello,

Follow
These steps:

1) flow triggered on schedule daily
2) use the Date action with ‘current time’ shape
3) use SharePoint action with ‘List folder’ shape
4) use a ‘Compose’ shape and in the inputs select dynamic content ‘Last Modified’ this will create a apply to each loop
5) use another ‘Compose’ and I put the expression:
addDays(utcNow(), 90, 'yyyy-MM-dd')
6) use a if block to see if current date is equal to Last modified date.

My steps above might need some tweaking based on the date format of SharePoint.

For example you might need to use the adddays expression on the last modified date instead of utcNow

--Josh

If you like my post please hit the "Thumbs Up" —————————————————————— If my post solved your issue please "Mark as a Solution" to help others




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

If you like my post please hit the Thumbs Up ?


Proud to be a Flownaut!





Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (7,289)