Knowledge base view count issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2020 11:25 PM
Hi guys,
We have a requirement to change the view count property of knowledge aritcles i.e, "glide.knowman.view_age.days" from 90 to 180 days.
can you guys suggest a way to test it in the lower instances that the view count is not getting reset after 90 days after we change the value to 180.
Regards,
Prashanth.
- Labels:
-
Knowledge Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2020 11:46 PM
Hey Prashanth reddy,
Check the Scripts Below it may help you:
Under System Policy > Script Actions there are two scripts that are triggered by event on view/use of articles.
These are named Knowledge Use and Knowledge View, and are the scripts that are incrementing the count and adding records to kb_use.
Also Refer the Link:
Hit Correct and Helpful If it helps.
Thanks,
Namrata.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2020 12:45 AM
Hi prashant
for test count of view :
If you have rights, simply type "kb_use.list" in the navigator filter. It shows how much user viewed that knowledge in mention days. refer fig.
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
(glide.knowman.view_age.days):- we make change here days 90 to 120
Navigate : knowledge>>properties>>
Enter a number of days to consider when calculating view count. This is used only when the Knowledge section sort field property is set to View count. The view_count field in the knowledge record will be updated periodically to reflect the view count based on this property. For example, if you enter 60, the view count is the total number of views in the past 60 days. Enter 0 to have ServiceNow consider all views, regardless of date.
If it help mark helpful or correct
Thanks and regards
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2021 12:00 PM
I changed the our property setting to 365 with the sort by views and it is not showing the correct view number. It is still showing 30 days. When would I see this number increase?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2021 03:16 PM
I am desperately curious to know the VALUE of leaving this at 30, and or changing it.
Whenever I run reports, I'm told my "historical data" is wrong because it's only showing 30 days, regardless if I'm looking at a list view that clearly shows a longer date range... I need clarity.