flow designer - wait for condition with date field

Brook3
Giga Expert

Hello Experts!

I want to use "wait for condition" by defining one Field (date) with following condition.

The flow waits until that date (date field input).

For example, 

date field value is 2020-12-31.

The flow should wait until 31th of December.

How can I define that?

7 REPLIES 7

SanjivMeher
Kilo Patron
Kilo Patron

Following link should help. There doesn't seem to be an OOB date comparison mechanism in Wait for Condition.

 

https://community.servicenow.com/community?id=community_question&sys_id=979a092bdba94490414eeeb5ca96...


Please mark this response as correct or helpful if it assisted you with your question.

valter479
Tera Contributor

@Brook3 , Did you ever figure this out?

This sounds like a "wait for duration" OOB action

You first calculate the duartion in miliseconds between today and the date in your field.  Set is into the action 

https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/administer/flow-designer/concept/...

 

Hope this helps

@Marta V ,

How about if I have to wait for an "OR condition"

 

Record has fields:

State

Expired datetime (date in future)

 

Example:  Wait for State is "Retired" or expired date passed.