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 to send an email ...
Power Automate
Answered

Flow to send an email 30 days after a date in a sharepoint list - Filter Query help

(0) ShareShare
ReportReport
Posted on by 137

I am trying to create a flow that will generate an email 30 days after a date in a sharepoint list.

 

Date Field in sharepoint list is called: Last Preventative Maintenance Check

 

I am getting this error when I run the flow:

 

The expression "Last Preventative Maintenance Check eq addDays(utcNow(),30,‘MM/dd/yyyy’)" is not valid. Creating query failed.
clientRequestId: 34cb54b6-b555-429b-9630-a800c10e22fb
serviceRequestId: 34cb54b6-b555-429b-9630-a800c10e22fb

 

Here is my flow:

Boppersnr1_0-1638290004900.png

I have also tried to use the column name for the date field in the URL for the sharepoint list:

Boppersnr1_1-1638290104716.png

 

 

Categories:
  • Boppersnr1 Profile Picture
    137 on at

    I'm trying a new method. but having issues with the date format. It is returning a date 01/09/2021 but today is 01/12/2021.

    I have it set as utcNow('dd/mm/yyyy) as that's what the SharePoint column looks like.

    Boppersnr1_1-1638360750544.png

    Boppersnr1_2-1638360780685.png

     

     

    Boppersnr1_0-1638360706073.png

     

  • Boppersnr1 Profile Picture
    137 on at

    if I change the expression the date results are not right:

     

    addDays(utcNow('dd/mm/yyyy'),30,'dd/mm/yyyy')

    returns

    17/00/2021

    Boppersnr1_4-1638361228235.png

     

    Boppersnr1_3-1638361201287.png

    What am I doing wrong?

     

  • Boppersnr1 Profile Picture
    137 on at

    Ok, I got somewhere but still not getting the successful result.

     

    I changed the expression to this:

    addDays(utcNow(),30,'dd/MM/yyyy') and it is returning the right date. but I am getting the error: String was not recognised as a valid datetime. Any ideas?

    Boppersnr1_6-1638361621895.png

     

    Boppersnr1_5-1638361603951.png

     

  • Verified answer
    Boppersnr1 Profile Picture
    137 on at

    Got it.

    I needed to change the date format from dd/mm/yyyy to mm/dd/yyyy and it worked.

    Boppersnr1_0-1638362010676.png

     

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 377

#2
11manish Profile Picture

11manish 292 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 128

Last 30 days Overall leaderboard