cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Helper V
Helper V

Re: Flow triggered by a date equalling today's date

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
Highlighted
Helper V
Helper V

Re: Flow triggered by a date equalling today's date

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

Highlighted
Regular Visitor

Re: Flow triggered by a date equalling today's date

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
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (8,305)