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.
General instance slowness accompanied by slowness in chat - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • General instance slowness accompanied by slowness in chat
KB0760524

General instance slowness accompanied by slowness in chat


2161 Views Last updated : Jul 11, 2025 public Copy Permalink
KB Summary by Now Assist

Issue

Users might experience transaction slowness in ServiceNow, but instance health appears good from most (if not all) key performance indicators.  In addition to the general slowness, there are examples of connect chat errors and/or slowness in conversations.

Release

Any current release of the platform using Connect Chat functionality.

Cause

Connect Chat transactions are background REST calls and should usually NOT cause a delay for other types of UI transactions like loading of a form or a list.  There are two specific exceptions to this, however. 

Will will touch on both briefly here as being aware of each is important to know if either is impacting user UI transactions:

  1. One way in which connect chat conversation CAN cause slowness to occur is when ServiceDesk users (and others) have a large number of open (or active) chats.  There is a simple background script documented within KB0717049 which will provide a list of users with more than 50 open conversations.  Corrective action should be taken if this is the case. 
  2. A second, and less obvious way in which chat transactions CAN cause UI slowness is when these transactions are themselves exceptionally slow due to custom Business Rules.

This article will focus on the second scenario, assuming the reader has already focussed and ruled out there being too many open/active chats per user.

 

This issue can be initially identified by a ServiceNow admin, but secondary verification of the cause may require ServiceNow performance support involvement to determine WHICH business rules are causing the transaction delay.

 

To identify chat as being a potential cause of transaction slowness.  Look for the following two indicators.  The first might not always be present, but users should be complaining of chat slowness regardless.  Look for errors like this:

 

The second and easier to capture indicator of this issue comes from filtering within the transaction logs.

 

Go to the module link, Transactions (all users) and query for a single day, with the following filters:

- Created on <whatever day>

- URL startswith /api/now/connect/conversations

- Response time greater than 4500

- Session wait time is 0

- Created by is not guest

 

Be sure that Response time, Business rule time, URL columns on on the list (as shown below).

Resolution

Assuming the slow business rule time is found to be present for the specific REST "/api/now/connect/conversations" transactions, determining which business rule is causing the delay can be a little more cumbersome.  These are 3 options you can use:

  1. Debug Business Rules can be attempted, and then opening and using chat might lead to the identification
  2. Download the application node log for the node where a single slow transaction example occurred for the given day.  Using the System ID field on the transaction list will tell you which node to download the log file from.  Download a node log from System Logs--->System Log-->Node Log File Downloader.
  3. Open a case with ServiceNow performance support and ask for assistance verifying the which Business Rules are making the /api/now/connect/conversations transactions slow.

NOTE: Option 2 can be a slow process.  Application node logs are VERY verbose and these are typically hundreds or megabytes and take a long time to download.  

 

Here is an example log file entry for a single chat conversation showing the BR in question:

 

~~~snip~~~
2019-08-27 07:05:19 (895) Default-thread-2 F941AC5513ABBB00A0F67C395144B06A txid=ba41ec5513ab Slow business rule 'VTB task query' on vtb_task:, time was: 0:00:00.502
2019-08-27 07:05:20 (432) Default-thread-2 F941AC5513ABBB00A0F67C395144B06A txid=ba41ec5513ab Slow business rule 'VTB task query' on vtb_task:, time was: 0:00:00.532
2019-08-27 07:05:20 (979) Default-thread-2 F941AC5513ABBB00A0F67C395144B06A txid=ba41ec5513ab Slow business rule 'VTB task query' on vtb_task:, time was: 0:00:00.541
2019-08-27 07:05:21 (529) Default-thread-2 F941AC5513ABBB00A0F67C395144B06A txid=ba41ec5513ab Slow business rule 'VTB task query' on vtb_task:, time was: 0:00:00.545
2019-08-27 07:05:22 (090) Default-thread-2 F941AC5513ABBB00A0F67C395144B06A txid=ba41ec5513ab Slow business rule 'VTB task query' on vtb_task:, time was: 0:00:00.556
~~~/snip~~~

 

A careful review of the business rule determined it was custom code and was no longer necessary.  Deactivating the business rule promptly resolved the Connect Chat slowness and as a result, more obvious UI transactions were no longer delayed due to excessive session wait (which can also be seen in the transaction list for other transactions).

Related Links

KB0717049 should be reviewed to verify that users do NOT have an unnecessary volume of active chats.  If they do, these should be cleaned up first as mentioned in the KB article.  Afterward, checking for BR time slowness for /api/now/connect/conversations will confirm whether this article is still relevant.


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.