- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited yesterday
Hi Community,
I understand that the "use_count" field represents the number of times a Knowledge Article has been attached to a task.
I attached a KB article to a Problem record, and the Attach Knowledge section correctly shows ( 1). However, this count is not getting reflected in the KB article’s "Use count" field.
Is this field updated through any scheduled job or any functionality behind? Please guide me
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited yesterday
Hi @Sruthi_2511
If you attached the article directly via the "Attached Knowledge" related list (using the "Edit" button) rather than clicking "Attach to Problem" through the Agent Assist/Contextual Search functionality, the necessary background scripts may not trigger.
The best practice is to attach the articles by clicking on the "knowledge search" next to short description and then click on "Attach to incident"/ "Attach to Problem" or enable the Contextual Search on short description and attach the articles to the incident. Doing so causes the following to happen:
1. When the KB article is attached to the incident/problem, the KB article link is visible in the Related Records related list Attached Knowledge section
2. The business rule "Create m2m_kb_task record on attach" is triggered which calls the script include - KnowledgeAjax
3. The script include has the code which triggers the event - KB Use which creates the record in the kb_use table and updates the use count
Currently, these events don't happen when a knowledge article is directly added via the Attached Knowledge related list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited yesterday
Hi @Sruthi_2511
If you attached the article directly via the "Attached Knowledge" related list (using the "Edit" button) rather than clicking "Attach to Problem" through the Agent Assist/Contextual Search functionality, the necessary background scripts may not trigger.
The best practice is to attach the articles by clicking on the "knowledge search" next to short description and then click on "Attach to incident"/ "Attach to Problem" or enable the Contextual Search on short description and attach the articles to the incident. Doing so causes the following to happen:
1. When the KB article is attached to the incident/problem, the KB article link is visible in the Related Records related list Attached Knowledge section
2. The business rule "Create m2m_kb_task record on attach" is triggered which calls the script include - KnowledgeAjax
3. The script include has the code which triggers the event - KB Use which creates the record in the kb_use table and updates the use count
Currently, these events don't happen when a knowledge article is directly added via the Attached Knowledge related list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
19 hours ago
Thanks @Tanushree Maiti
