Records in m2m_kb_task table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2014 08:53 AM
Anybody knows how records are added in m2m_kb_task table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2017 11:33 AM
Records are added to the m2m_kb_task table via the Script Include KnowledgeAjax. Out Of Box (OOB), the script function that controls this functionality starts at line 44, with "kbAttachArticle: function(value) {"
The m2m_kb_task table functions as an intermediary table that simply records which KBs were used in which Task (or Task-extended) table. For example, if a User attaches a KB article to an Incident, this would trigger the script and generate the associated m2m_kb_task record.
Of note with this table is that its main data draws from its relationships to Task and Knowledge, thus any queries on these fields must be dot-walked. It has no unique OOB attributes that produce significantly useful data, and of its OOB attributes you merely get the usual ones like Created/Updated By/On, Mod Count, and System ID.
OOB, this Table does not appear in the list of Tables for Reporting.
Associated Community Post: Re: Is it possible to detect if a Knowledge article is attached?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2023 03:13 AM
I'm unable to find the line & function 44 mentioned by you. Can you please guide me here.
My goal is to understand, when we attach an Article on Incident. It displays on m2m_kb_task_list via which script & what else is happening when KB is attached.