cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
grahamsimmons
Level: Powered On

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
Level 8

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
AKRogers
Level 8

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

grahamsimmons
Level: Powered On

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,237)