Wait for condition timeout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi All,
We’ve encountered a case where we need to implement a 'Wait for Condition' on the stage field being set to 'Awaiting Delivery', along with a timeout of 5 hours. If the condition isn’t met within that time, the flow should continue along a different path — ideally using an 'If' condition to check whether the timeout occurred. Has anyone implemented something similar before, or can suggest how to proceed?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hello @geogeorge ,
To check whether the Wait action exited due to timeout, you can add a if block with condition not matching the wait condition. Based on your screen shot you can check if Stage is not Awaiting Delivery
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
workaround below
1) you will require custom field to determine if the condition was met or not
2) set this custom boolean field as TRUE whenever stage is set with Awaiting Delivery
3) then in your main flow after timeout see the value of this custom field and based on that you will know
a) if flag is set in custom field means no timeout
b) if flag is not set in custom field it means the Stage didn't update in those 5 hours and you are here because of timeout
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
59m ago
Hello @geogeorge
You need to add "5" in hours tab in front of duration field with your condition, This will work with time and condition satisfying. Then you will need "IF" condition to validate state is updated or not.
Supriya Waghmode |ServiceNow Consultant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
56m ago
Hi @geogeorge ,
After Wait for Condition you can check in if condition "Wait for condition -> State -> is Timeout or Complete"
Thanks
Anand