Triggers for "used" Flag Set to True in the [kb_use] Table

senon
Tera Sage

Hello Experts,

I am currently investigating the conditions under which a record is created in the kb_use table when a knowledge article is used. The kb_use table contains a boolean field "used" to indicate whether a knowledge article has been utilized. My focus is on identifying the triggers that set "used" to True.

Based on my research, I have identified the following two cases where a record is created:

  1. When performing a contextual search on the Incident form in the Platform and clicking the "Attach" button.
    senon_1-1743574255321.png

     

  2. When using the "Attach" option within Agent Assist in Service Operation Workspace (SOW).
    senon_0-1743574198460.png

     

Are these the only out-of-the-box triggers for reporting the usage of knowledge articles by agents, or are there any other triggers that might create a record in the kb_use table? If you have additional insights or examples, please share the details.

Thank you for your assistance.
Best regard.

 

senon

2 ACCEPTED SOLUTIONS

Ankur Bawiskar
Tera Patron
Tera Patron

@senon 

yes as per my knowledge only those 2 places.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

Shivalika
Mega Sage

Hello @senon 

 

Kb_use is populated when article is directly viewed, attachment is viewed, if it is viewed in portal, if it is viewed in native view. 

 

You can refer below also - How sys_view_count and kb_use table works? - Support and Troubleshooting

 

Understanding KB_Use Table - ServiceNow Community

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@senon 

yes as per my knowledge only those 2 places.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Ankur Bawiskar
Tera Patron
Tera Patron

@senon 

Whenever an article is viewed from OOB article view page like kb_view or kb_article_view page, system increments the sys_view_count field for that article and at the same time an event is raised to add a row in kb_use table.

better explanation here

How sys_view_count and kb_use table works? 

Understanding KB_Use Table 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@Shivalika 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Shivalika
Mega Sage

Hello @senon 

 

Kb_use is populated when article is directly viewed, attachment is viewed, if it is viewed in portal, if it is viewed in native view. 

 

You can refer below also - How sys_view_count and kb_use table works? - Support and Troubleshooting

 

Understanding KB_Use Table - ServiceNow Community

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY