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

How to compare with today's date in Flow

Hi,

I'm trying to create a Flow which will go through a project plan and check if there's any delay, if delay is found, a reminder email will be sent out to the reponsible person.

 

Below is my sharepoint list and the Flow.

 

I have created a condition in Flow, which checks

if column "darft date" is null AND column "draft deadline" < utcnow() then

send a reminder email

 

Usually no reminder email should be sent out as the 2nd condition is never met, however, my Flow always sends out reminders. Anyone can help?

 

Thanks!

 

Flow2.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: How to compare with today's date in Flow

Both your conditions are invalid.

 

For the first one click into the box and click Expression and type null.

For the second one do the same but use the utcnow().

 

You are comparing to the text "utcnow()".

 

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Re: How to compare with today's date in Flow

Both your conditions are invalid.

 

For the first one click into the box and click Expression and type null.

For the second one do the same but use the utcnow().

 

You are comparing to the text "utcnow()".

 

View solution in original post

jeanwang
Level: Powered On

Re: How to compare with today's date in Flow

Thank you! I thought I was smart to write the expression myself. I didn't know the formulas have to be created in Expression box.

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

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!

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 Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,716)