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.
Determining if there are competing business rules that cause the workflow to stop - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Determining if there are competing business rules that cause the workflow to stop
KB0538069

Determining if there are competing business rules that cause the workflow to stop


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

Issue

 

Determining if there are competing business rules that cause the workflow to stop



Symptoms


  • Approvals are stuck
  • Hung workflow
  • Cannot start workflow
  • Workflow doesn't start
  • Workflow won't trigger
  • Workflow is not progressing
  • Workflow hung on activity
  • Workflow not returning
  • Subflow won't return
  • Subflow running too long
  • Subflow stuck

 

Video


 

Workflow and business rules


The workflow engine is part of the glide script engine. The workflow engine is typically invoked along with the business rules of the current record (for example, a change request). However, workflows can also be invoked via a script from within business rules as part of a post-processing action. 

 

An example of post-processing business rule


In the base instance, an example of a post-processing business rule is SNC - Run parent workflows (Approval). This is an After business rule on the sysapproval_approver table.

Based on the conditions, SNC - Run parent workflows (Approval) runs:

  • after the Insert/Update of the sysapproval_approver record (it is a post processing rule)
  • if the state of the workflow changes to Approved or Rejected, or if the approval is deleted
  • if it performs a glide query to find related records and uses the interface defined in the Script Include Workflow to invoke the workflow of the related records

To determine the business rules that fire on a specific table: 

  1. In the Application Text Filter, type Business Rules.
  2. Select System Definition > Business Rules.
  3. In the Filter select Go to > table.
  4. In the Filter, type the name of the table. For example, sysapproval_approver.
    A list of business rules that fire off the specified table is displayed.

How to troubleshoot by examining the conditions: 

  1. In the Application Text Filter, type Business Rules.
  2. Select System Definition > Business Rules.
  3. In the Filter, select Go to > table.
  4. In the Filter, type the name of the table. For example, sysapproval_approver.
    A list of business rules that fire off the specified table is displayed. 

 


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.