cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JenniferHayes
Frequent Visitor

Flow send a reminder email on day of

I have a SharePoint list that is working as a project tracker. We have a calculated date column called 'Projected Award Date', it calculates 7 days after 'RFP Issue Date' 

 

I would like to create a Flow that sends a reminder email the morning of the 'Projected Award Date' to remind the project coordinator to collect the RFP's from our inbox. 

 

So far I have

  • Recurrence, daily 7am
  • Get items
  • Apply to each
  • CONDITION - this is where I am getting stuck, I don't know how to build the condition for it to work. 
  • If yes, send email - I have this step covered

Everything I've tried in the condition returns an expression result as false, but there is a test line in this SharePoint List with the due date listed as today. 

8 REPLIES 8
ScottShearer
Super User
Super User

@JenniferHayes :

 

Please see the screen shot of my Flow below - it should meet your needs.

 

Please note that I am using an OData filter so that only the items you want are returned.  An OData filter uses the internal column name from SharePoint (rather than the display name).  Also note the single quotes on either side of my expression.

 

If you expect that more than 100 items will be returned on ant day, you need to go to the Get Itms settings, turn pagination on and set the limit to a number that does not exceed 5000.

 

In my eaxmple, an email s sent every day at 9:00.

ProjectTracker.jpg

 

If this addresses your issue, please mark you post as Solved.

If you like my solution, please give it a Thumbs Up.

 

Scott

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

This is the error message I'm getting: 
{
"status": 400,
"message": "The field 'Projected_x0020_Award_x0020_Date' of type 'Calculated' cannot be used in the query filter expression.\r\nclientRequestId: e7c2516a-a5e8-4236-ae59-48487a61a206\r\nserviceRequestId: b04ec99e-a001-8000-06dd-19112859bdba"
}
 
The Filter Query is also returning the wrong date: Projected_x0020_Award_x0020_Date eq '2019-04-15' 
 

@JenniferHayes :

 

OK - OData doesn't like calculated columns.  What is the calculation being done?  Is it simply RFP Issue plus 7 days?  If so, then give this a try:

ProjectTracker1.jpg

 

Scott

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

'Projected Award Date' is calculating 7 days from 'RFP Date' 

 

We don't need the "projected award date" column, it was put in there to help remind us which day the RFP was due. I am happy to remove it and include that calculation in the Flow. 

 

Basically the flow needs to send a reminder email 7 days after the RFP Date. 

@JenniferHayes :

 

I just updated my response above - please let me know if it works for you.

 

Scott

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

This is the error message I am now getting.
 
"status": 400,
  "message": "The expression \"RFP_x0020_Date eq '2019-01-08\" is not valid.\r\nclientRequestId: fc612c09-2157-43c3-9be2-9479643bb2b7\r\nserviceRequestId: ea51c99e-00b8-8000-0c5f-e91011d9ea92"
 

Can you post a screen shot of your expression?

Scott
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Hi @JenniferHayes ,

 

I noticed that the single quote of timestamp seems to be missing the one on the right.

39.PNG

Please add the correct single quotes outside Expression.

 

Also make sure that RFP_x0020_Date is in OData to indicate RFP Date column.

You could not configure Filter Query first, then execute Get items action to see how RFP Date field in Body is displayed, as below:

40.PNG

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,821)