cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
grahamsimmons
Regular Visitor

Flow triggered by a date equalling today's date

Hi there – please can someone help me get this flow to run.

The flow runs daily and references a SharePoint list and looks for a date in one of the columns [Probation] to be equal to today’s date. If it finds a date that is equal to today it sends an email listing data from the records the query has found.

I am using a query rather than a condition as follows:

 

Flow.jpg

 

But I get this error message: "The expression \"Probation eq'2019-11-03\" is not valid.

Thanks so much

Graham

 

1 ACCEPTED SOLUTION

Accepted Solutions
AKRogers
Helper V
Helper V

Hi @grahamsimmons,

 

It looks like you're missing the whitespace between eq and the first single quote before your variable.  Additionally, you're missing a closing single quote after your variable.

 

Can you try adding those missing pieces and re-run your Flow?

 

Edit:  Added Screenshots for your reference!

 

7.png

 

Thanks!

Ashley

If this response provided an answer to your question please mark it as a solution so that others can find it.

If you found this helpful, consider giving it a thumbs up!

View solution in original post

2 REPLIES 2
AKRogers
Helper V
Helper V

Hi @grahamsimmons,

 

It looks like you're missing the whitespace between eq and the first single quote before your variable.  Additionally, you're missing a closing single quote after your variable.

 

Can you try adding those missing pieces and re-run your Flow?

 

Edit:  Added Screenshots for your reference!

 

7.png

 

Thanks!

Ashley

If this response provided an answer to your question please mark it as a solution so that others can find it.

If you found this helpful, consider giving it a thumbs up!

View solution in original post

Hi @AKRogers 

 

That worked perfectly Ashley - thank you so much and for gettng back so quickly.

 

Getting this simple expression right will have a number of useful applications in our organisation. For more advanced users like yourself this was probably easy but for beginners like me this forum is an incredible help.

 

One last point - if I reverse the date format in the expression to dd-MM-yyyy the flow when tested completes ok but the email doesn't come through. If I go back to the yyyy-MM-dd format it works fine. Is there a solution that enables using other date formats?

 

Thanks again

Graham

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!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,742)