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

Power Platform Community Conference

Check out the on demand sessions that are available now!

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.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (9,933)