cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

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
Super User II
Super User II

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
Super User II
Super User II

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

Highlighted
Helper II
Helper II

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
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Top Kudoed Authors
Users online (8,719)