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.
Workflow is hung even after approval received and processed per Inbound Action - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Workflow is hung even after approval received and processed per Inbound Action
KB0818876

Workflow is hung even after approval received and processed per Inbound Action


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

Issue

The user has some workflows which are hung even after receiving approval via an Inbound Action.

Resolution

The issue is that even though Joe Employee is an approver on the Finance Request (FR) record, he actually has no visibility of the record (to see this demonstrated, the user can grab the URL to the record, impersonate Joe Employee, and try to view that record - they will get a "Record not found" error).

Here's what is seen in the logs, which is the root of the issue:

`2020-02-27 16:27:26 (476) worker.1 worker.1 txid=cb445e60db13 WARNING * WARNING * Get for non-existent record: sn_sm_finance_request:5dbb4a6cdb5f8050dea5760a689619a0, initializing`


The WorkflowApprovalUtils Script Include is trying to do a get() on the current record and then send an update to the workflow(s). If that get, fails workflows won't be updated.

var gr = new GlideRecord(table);
if (gr.get(id)) {
new Workflow().broadcastEventToCurrentsContexts(gr, 'update', null);
}
}


Because Joe Employee has no visibility of the record, the gr.get() fails, and the approval is not broadcasted to the workflow. This will happen in any similar situation.

To remedy this, the user should ensure that any approver on a record should have visibility to view the record they are approving.


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.