Knowledge base view count issue

Prashanth redd4
Kilo Guru

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.

4 REPLIES 4

Namrata Khabale
Giga Guru

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:

https://community.servicenow.com/community?id=community_question&sys_id=ba3cc765db9cdbc01dcaf3231f96...

 

Hit Correct and Helpful If it helps.

 

Thanks,

Namrata.

Anil Shewale
Mega Guru

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.

find_real_file.png

 

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>>

 find_real_file.png

 

 

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

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?

Michael QCKM
Tera Guru

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.