web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get Items - Filter Que...
Power Automate
Answered

Get Items - Filter Query - Date 90 Days Past

(0) ShareShare
ReportReport
Posted on by 86
I need to be able to send an email to the Created By user after a Date Hired field comes to 90 days past.  
 
For example, if the SP list item's Date Hired value is utcNow() - 90 days then send email to the Created By. 
 
Let's say the Date Hired value is 12/26/2024 and today's date is 03/26/2025.  Since today's date minus 90 days is equal to the Date Hired 12/26/2024 I'd like to send an email.
 
Date Hired 12/26/2024 = 03/26/2025 - 90 days send the email. 
 
Is there a way I could use the Get Items / Filter Query to determine the items where the Date Hired value is equal to Today's date - 90 days?
 
Thank you!
Categories:
I have the same question (0)
  • Verified answer
    David_MA Profile Picture
    14,056 Super User 2026 Season 1 on at
    You can do the following:
    1. Create a scheduled flow that runs at the time of the day you want the e-mail to be sent.
    2. Use a get items action with a filter query to only get the items created 90 days ago.
    3. Add a condition to see if any items were found.
    4. Then use an apply to each action to process each item returned and send the e-mail.
    The flow will look like this except the trigger will be a scheduled action:
    The filter query in the get items action is configured as such:
    The two expressions used are:
    • ge (greater to or equal): addDays(startOfDay(utcNow()), -90)
    • lt (less than): addDays(startOfDay(utcNow()), -89)
    • This would be the entire expression: Created ge '@{addDays(startOfDay(utcNow()), -90)}' and Created lt '@{addDays(startOfDay(utcNow()), -89)}'
    The condition is configured as:
    • The expression on the left is: length(outputs('Get_items')?['body/value'])
  • greddin1 Profile Picture
    86 on at
    Thank you for the help!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 557

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 264 Super User 2026 Season 1

Last 30 days Overall leaderboard