Flow engine context is in queued state and not executing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2020 10:50 PM
Hi,
Flow engine context for the flow is in queued state and not executed.
If we go to flow designer and test - flow is triggered.
Is there any configuration where flow designer triggering to be enabled?
We used catalog item through record producer - on create triggering the flow.
Attached the screenshot where you can see 2 flows are queued which came for service portal catalog form submission and other one which is in complete state from flow designer test .
Anything over upgrade to verify?
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2021 02:25 AM
Hi,
I am facing the same issue in Paris release. Has there been a solution for this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2021 01:15 AM
I'm facing the same issue in Quebec release, how did you fix it?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2021 01:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2021 02:58 AM
They are all in ready state, but not processed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2021 01:46 AM
Hi,
One workaround for this is you can increase the timeout of the flow.
Usually, this happens if the flow is large and it takes a long time to load the flow in memory.
If you calling the flow/subflow from a scripted REST API then you can increase the time out as shown below.
var result = sn_fd.FlowAPI.getRunner().subflow('<subflow_name>').inForeground().withInputs(inputs).timeout(<time in ms>).run();
Also, another way is to use functions given by Flow API like ScriptableFlowRunner - quick() which runs the flow quickly without creating execution details or other related records.
More details related to Flow API could be found here: https://docs.servicenow.com/bundle/quebec-application-development/page/app-store/dev_portal/API_refe...