Flow designer is stuck in waiting state after using "Wait for a duration of time" flow logic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2021 12:53 AM
Hi, I am new to Flow designer. I am trying to send reminder notifications after 3 business days and just for testing purpose I am sending notifications after 10 min. For this I am using "Wait for a duration of time".
The issue is Its always stuck in waiting state even after 10 minutes has been passed
Here is the screen short of my flow designer "Wait for a duration of Time" step
And here is the output after running my flow designer and it always stuck on waiting state
Please help me with this. Any advice will be appreciable.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2021 01:11 AM
Hi,
Have you clicked the refresh icon, next to the 'Waiting' status at the top of your executing flow.
I can see what looks like an executing time of only '4m' next to that step 7. Try refreshing the flow and report back.
Failing that - try a timer with 10 seconds and let me know how that works as another test case.
Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2021 01:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2021 08:26 AM
I can't say I have ever encountered this before.
Out of curiosity you could review this thread:
https://community.servicenow.com/community?id=community_article&sys_id=36a73b95db6edcd49e691ea6689619d1
It has suggestions around testing Wait for a duration of time actions in flows. More so, it details where to look up the event record for that activity. You could review that event record - does it have the correct 'Process On' date/time you expect. Does it appear if the record has actually processed but the flow was not updated to reflect that?
You might stumble on something that helps..
Alternatively; can you test the same flow on an alternative instance (one that isn't your personal development instance) - do you get the same result?
Geoff

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2021 01:21 AM
There seems to be no reason for this not to run other than that the job responsible for this flow is awaiting in background for its time slice. Can you try changing the "Where to run the flow" setting to "Run flow in foreground" under Advanced Options in Trigger and see if that works?
This is just to see if the issue is in flow or processing, we have to revert back as running in foreground will block user session
Also can you expand that line 7 & share the screen shot?
Hope this helps