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 / Flow with todays to fu...
Power Automate
Answered

Flow with todays to future date filter query

(0) ShareShare
ReportReport
Posted on by 20

Hi Everyone, I hope you doing well. I'm working on new flow that need to do the outcome bellow:

 

- I have the employees master list that will contain many information including if the employee name, status if still active or no, Driver License expiration date, and safety certification expiration date.

- What I need to achieve is every Monday an email will be send to supervisors that will contain in separate fields with employees name who will have Driver license and safety certification will expire in 30 days or less.

 

as this point I did create the flow with filter query that will filter the active employees (which is working) but the expiration date will never works.

 

here is the flow

Flow 1.jpg

Flow 2.jpg

 

here is the outcome when I did (ge) (Greater than or equal to) in the DL expiration date expression

with great than or equal.JPG

 

when I tried the (Less than or equal to) (le) I got this output

with less than or equal.JPG

 

I need the email contain only the employees who have their DL expire from today until 30 days from now (all in between these dates). 

 

Thank you,

Categories:
  • Verified answer
    ccc333ab Profile Picture
    1,144 on at

    You would need to test that the expiration date is both:

    • greater than or equal to today 
    • less than or equal to 30 days from now

    So use the expression (DL_x0020_Expiration ge 'utcNow()' and DL-x0020_Expiration le 'adddays(utcNow(),30)')

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 424

#2
11manish Profile Picture

11manish 328 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard