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.
Knowledge Article View Count is inconsistent - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Knowledge Article View Count is inconsistent
KB0693819

Knowledge Article View Count is inconsistent


3637 Views Last updated : Jan 6, 2025 public Copy Permalink
KB Summary by Now Assist

Issue

The Knowledge Article View Count in a Knowledge Article List (that comes from the Knowledge table) does not match the number from the Viewed field on the Knowledge Use table.

Resolution

The list view of the kb articles is controlled by the property called: glide.knowman.view_age.days. This property is available in Knowledge > Administration > Properties, labeled: Number of days (integer, default 30) used when summing article views. Views older than this are not considered when sorting articles based on view count. 0 means consider all views.

The count on the list view is also controlled by the daily scheduled job Count Knowledge Use (/nav_to.do?uri=sys_trigger.do?sys_id=377187cd0a0a0b52005a19f2d02d178e).

In the first line of the script, the variable is set to the value of the glide.knowman.view_age.days property (therefore, it's controlled by the 30 days default):

var days = gs.getProperty("glide.knowman.view_age.days", "30"); 

This is the property used to "see" the KB article on the list views, as it is specified: "Views older than this are not considered when sorting articles based on view count", this would be the reason for the view discrepancy (against the kb_use table). If you wish to change this behavior, you can change the value to 0, as "0 means consider all views" (and the views will start adding up and not topping after 30 days).

Note: Making the property value 0 stops running the scheduled job. The expectation of the view count should show all the views from the knowledge article creation will affect the knowledge articles created after making the property value 0. It will not affect the existing knowledge article views as the Scheduled Job will not run and will not update the view count. 


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.