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.
Hi Rhia
I did think of this as it is 8th April where i am located. I have tried it as 'addDays(utcNow(),11)' but it is still not capturing an item with a Review Date of 18th April?
UTC can be a pain in the butt. For example, right now - it is 10:03PM on April 7th, UTC. For me, it is 3:03PM on April 7th, Pacific.
If I were to run a flow in 3 hours from now, and say "find all things for today" and I use UTCNow(), it would actually be looking for April 8th, since it would be 1:03AM April 8th for UTC, and 6:03PM April 7th for me.
I just bring this up first so you can check and see if that might be a factor.
I'm also attempting to create another very similar flow which will send an email notification when an items Review Date is approaching in 10 days time.
I'm using the below filter query, but it doesn't seem to produce the data?
Thank you once again! 🙂
No need to be sorry!
After your "Get Items", add a Compose action. It should look like this:
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?
Thank you so much! This has worked 🙂
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:
⭐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:
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?
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1