cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (52,095)