Is there a way to view the Knowledge article linked to a CI in the Configuration Item record? I want to see the" Knowledge article " column in incident related tab/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2017 09:28 PM
Hi,
Is there a way to view the Knowledge article linked to a CI in the Configuration Item record? I want to see the" Knowledge article " column in incident related tab?
Please refer the attached screenshots.( I want like - Refer Screenshot:"knowledge article-Incident tab" )
I'm unable to find the "knowledge article" option in List layout.( Refer - "List Layout -CI" screenshot)
Thanks,
Sowmya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2017 09:59 PM
Hi Sowmyab,
So your requirement is to display the Knowledge article (from 2nd screenshot) on CI form or in the Incident list?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2017 10:04 PM
Yes exactly..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2017 10:10 PM
But CI and Incident has a 1-to-many relationship, so configuring Knowledge field from Incident on CI form is not possible directly. You might need to create a new field called Knowledge Article and then update it through a script.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2017 02:29 AM
Knowledge articles are related to configuration items using m2m_kb_ci table
Here is the custom relationship you can define using
System Definition > Relationships
and in query with use the below script
(function refineQuery(current, parent) {
// Add your code here, such as current.addQuery(field, value);
current.addQuery('cmdb_ci', parent.sys_id);
current.addQuery('kb_knowledge.workflow_state', '!=', 'retired');
current.addQuery('kb_knowledge.u_approval', '!=', 'Rejected');})(current, parent);