Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

How to Compare Dates and Use "Wait for Condition" in Flow Designer?

SpartanW4963600
Tera Contributor

Hi All,

I have a 'Waiting Date' (date field) on the Task table. When a task moves to the 'On Hold' state and this date field is populated, I want to trigger a Flow that waits until the specified date is reached. Once the current date matches the 'Waiting Date', I would like the task to automatically update its state to 'Closed Complete'.

 

How can I compare this date or use 'Wait for Condition'?

SpartanW_0-1750921724208.png

 

Thanks.

 

@Ankur Bawiskar 

@Ehab Pilloor 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

@SpartanW4963600 

you can use Wait for Duration flow logic and use Relative operator

something like this

Flow Designer : Making the flow wait until a specific date time based on a catalog variable 

AnkurBawiskar_0-1750923099415.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron

@SpartanW4963600 

you can use Wait for Duration flow logic and use Relative operator

something like this

Flow Designer : Making the flow wait until a specific date time based on a catalog variable 

AnkurBawiskar_0-1750923099415.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar , There is no 24*7 During the following schedule when I select Relative Duration?

@SpartanW4963600, You can make a schedule record in cmn_schedule table.

 

Regards,

Ehab Pilloor