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 stuck in "Waiting" for an approval that has already been approved - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Flow stuck in "Waiting" for an approval that has already been approved
KB0814960

Flow stuck in "Waiting" for an approval that has already been approved


7308 Views Last updated : Sep 21, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

The user has a record where the associated Flow is still stuck "Waiting" for an approval even though the approval has already come through as approved.

Resolution

In this sort of example the very first thing to try, after verifying that the sysapproval_approver record was approved, would be nudging the Flow.

To do this, we will need to run a background script. Here's an example "nudge" (please note: the nudge API will only work in New York Patch 3 and beyond):

  • sn_fd.FlowAPI.nudgeFlowsWaitingOn("_TABLE_NAME_", "_SYS_ID_", 20);

Where "_TABLE_NAME_" is the table the affected record lives on, "_SYS_ID_" is the sys_id of the record (e.g. the sys_id of the incident, change, etc), and the "20" is the amount of time the system should wait before nudging the Flow, in seconds.

So, the above will create a sysevent record with name "flow.nudge_waiting_on" to be executed in about 20 seconds from its creation with a target based on the information specified in _TABLE_NAME_ and _SYS_ID_.

You should be able to run the above script in a background script and nudge the Flow this way.

If the flow does not respond to the nudge although all evidence dictates that it should, there may be a larger issue with the associated sys_rw_action record not having a "flow.listener" for the approval record(s).


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.