How to wait for some days using flow designer

Smriti Rastogi
Kilo Guru

How do we wait for 60 days for example using flow deisgner?

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

Hi there,

This would work:

find_real_file.png

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020-2022 ServiceNow Community MVP
2020-2022 ServiceNow Developer MVP

---

LinkedIn
Community article, blog, video list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

5 REPLIES 5

Mark Roethof
Tera Patron
Tera Patron

Hi there,

This would work:

find_real_file.png

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020-2022 ServiceNow Community MVP
2020-2022 ServiceNow Developer MVP

---

LinkedIn
Community article, blog, video list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Hitoshi Ozawa
Giga Sage
Giga Sage

Hi Smriti,

Is this in a flow or on trigger condition?

If it's in a flow, use the "Wait" step as Mark replied.

If it's on the trigger, use "Run Once" trigger and set calendar date to run the flow.

Jacob Saaby Nie
Tera Contributor

I would like to point out an approach I found out in one of my own solutions, which I find much more flexible and have started using to a great extent.

Because waiting for a time period forces you to wait that period of time ONLY. Which can be ok, if that's the usecase. But you lock yourself into "The world is frozen in this state for that amount of time, and only after that time will I re-evaluate".

However, I find that more often than not, what I'm actually trying to do is wait for an amount of time OR for some conditions to be true. Let's say "if the record gets closed in the meantime, there's no reason for the flow to wait any longer".

So instead I've begun using the "Wait for condition" action, and then enabling timeout on that.

That allows me the flexibility of reacting to specific conditions. And if those conditions don't happen, then I'm waiting for that set amount of time. So that way I wait for both things at the same time, allowing me to end the flow before the timeout.

The timeout feature on Wait for condition even allows you to take schedules into consideration, so you can wait workdays instead of calendar days.

I've found that approach hugely beneficial.

Saaby to the rescue! 
This is just what I was looking for and a good thorough explanation. 

 

You are right, you can always add a static waiting condition based on time, but I agree, more often than not, you want to wait, until a certain condition is met.

 

So thanks for the help