cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
EMullen
Level: Power Up

Send an email reminder when an item hasn't been modified in 2 weeks

I'd like to receive an email reminder if an item in a SharePoint list is open but hasn't been updated in 2 weeks so I know to go update it. 

 

Every test returns every item as failing (no condition) despite the fact that some of those items are older than 2 weeks. 

flow screenshot.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: Send an email reminder when an item hasn't been modified in 2 weeks

The problem is with your use of FormatDateTime().  That will return a string containing the date taht you have calculated.  But to do the comparison you need a dateTime variable not a string.  Just remove the formatDateTime from the outside of your calculation and try again.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

1 REPLY 1
Dual Super User
Dual Super User

Re: Send an email reminder when an item hasn't been modified in 2 weeks

The problem is with your use of FormatDateTime().  That will return a string containing the date taht you have calculated.  But to do the comparison you need a dateTime variable not a string.  Just remove the formatDateTime from the outside of your calculation and try again.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

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!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (5,150)