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

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

grahamsimmons
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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Users online (6,121)