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

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

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
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

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
Users online (3,821)