Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Flow stops with no clear reason and stuck in "Continue Sync" state - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • Flow stops with no clear reason and stuck in "Continue Sync" state
KB0852831

Flow stops with no clear reason and stuck in "Continue Sync" state


1836 Views Last updated : Sep 19, 2024 public Copy Permalink
KB Summary by Now Assist

Description

Flows get stuck Continue Sync (sys_flow_context.state) after a second REST step on the MID

Steps to Reproduce

Create an action "testAction" with the following steps:
1. Script 1 -> gs.print("hi");
2. Rest Action on MID
3. Script 2 -> gs.print("hi");

Publish the action
Create a flow "testFlow" and add the following

1. testAction
2. wait for time (10) seconds
3. testAction

Activate the flow
Goto Background Scripts and run the following:
sn_fd.FlowAPI.executeFlow("global.testFlow"); -> gets stuck in 'Continue Sync' state after 10+ seconds, open the execution and check 1st two actions in 'Complete State' 3rd step in no state

Alternatively:

sn_fd.FlowAPI.startFlow("global.testFlow"); -> check executions gets completed after 10+ seconds

Workaround

Use startFlow instead of executeFlow OR do not quiesce the flow. 

executeFlow is meant to return the flow outputs and the outputs won't be available if the flow quiesces.


Related Problem: PRB1417621

Potentially Seen In

There is no data to report.

Fixed In

Orlando Patch 9
Paris Patch 4
Quebec

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.