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

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

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

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

Power Platform Community Conference

Check out the on demand sessions that are available now!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Top Kudoed Authors
Users online (7,254)