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

Community site session details

Session Id :
Power Automate - Building Flows
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

 

 

I have the same question (0)
  • Boppersnr1 Profile Picture
    137 on at
    Re: Flow to send an email 30 days after a date in a sharepoint list - Filter Query help

    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
    Re: Flow to send an email 30 days after a date in a sharepoint list - Filter Query help

    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
    Re: Flow to send an email 30 days after a date in a sharepoint list - Filter Query help

    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
    Re: Flow to send an email 30 days after a date in a sharepoint list - Filter Query help

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 560 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 347 Moderator

#3
Expiscornovus Profile Picture

Expiscornovus 262 Most Valuable Professional

Last 30 days Overall leaderboard