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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow run failed The fi...
Power Automate
Unanswered

Flow run failed The field 'ReviewDate' of type 'Note' cannot be used in the query filter expression.

(0) ShareShare
ReportReport
Posted on by 30

I am trying to create a flow which will send a list of overdue items (by Review Date in SharePoint) via email at the beginning of each week.

 

I keep getting the following error with the Filter Query for Get Items (The field 'ReviewDate' of type 'Note' cannot be used in the query filter expression) even though the field is a DateTime field.

 

Can someone please help.

 

Many thanks.

 

SARAHBEAHAN_1-1649023736739.png

 

Categories:
I have the same question (0)
  • Rhiassuring Profile Picture
    8,690 Moderator on at

    Hi there, 


    I see you say it is a date/time field, but 'Note' means a multi-lines of text field, generally...  are you able to grab a screenshot of the column's settings? Something is afoot and I'd just want to make 100% sure of that first..! Maybe a strange column setting?

    Cheers,

    R

  • SARAHBEAHAN Profile Picture
    30 on at

    Hello

     

    Screenshots below:

     

    SARAHBEAHAN_0-1649031299098.png

    SARAHBEAHAN_1-1649031343733.png

    Thank you so much
    Sarah

  • Rhiassuring Profile Picture
    8,690 Moderator on at

    Alright, well, I've set up my demo tenant exactly the same as you have it - formatting and all - and the filter works for me. So it must be something I can't see... can we take a look at the following: 

    - If you go into your List Settings and click on ReviewDate, can you confirm that the last piece in the URL that it goes to is "ReviewDate"? (Just to make sure it's not called something weird and then renamed - this will show us the internal name.) 
    - I'm assuming utcNow() is just as shown, nothing fancy within it or around it in the expression that's been truncated?

    Cheers,

    Rhia

  • SARAHBEAHAN Profile Picture
    30 on at

    Hi Rhia

     

    For some reason the is showing as Regulatory Guide in the URL....

     

    SARAHBEAHAN_0-1649050458739.png

     

  • Rhiassuring Profile Picture
    8,690 Moderator on at

    Ah ha! Can you retry your filter using "RegulatoryGuide" instead and let me know what happens?

  • SARAHBEAHAN Profile Picture
    30 on at

    Thank you

    My flow is no longer failing however it isnt producing the items in the email (email is just coming through blank).

    I'm not to sure what changes to make to ensure the email includes all overdue list items?

    SARAHBEAHAN_2-1649110853261.png

     

    SARAHBEAHAN_0-1649110727551.png

     

  • Verified answer
    Rhiassuring Profile Picture
    8,690 Moderator on at

    What else do you have in your email body? It looks like you haven't pulled in any variables - but that would also end up with you getting an email per individual overdue item, which likely isn't what you'd want. 

    I'd recommend building a table. For example:

     

    Rhiassuring_0-1649113305520.png

    Step 1 - Get items with Review Dates less than today. You got this one.
    Step 2 - Create HTML table. Use custom, and select which items you'd like to see in the table from the Dynamic Content displayed from "Get Items". I've chosen Title & the Review Date itself. 

    Step 3 - Set-up the email, and drop the "Create HTML table" output into it. 

    You end up with an email that looks like this:

     

    Rhiassuring_2-1649113444041.png

     

     

  • SARAHBEAHAN Profile Picture
    30 on at

    Thank you so much! This has worked 🙂

  • Rhiassuring Profile Picture
    8,690 Moderator on at

    dancingotter.gif

  • SARAHBEAHAN Profile Picture
    30 on at

    Sorry Rhia

     

    Just wondering if you know something i could add to this flow to avoid it sending an email when the output comes out black i.e. there are no overdue items?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard