Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Configuration item - where do I see the knowledge base articles linked to a CI?

Ulrich Schulte
Tera Contributor

I created a couple of knowledge base articles linked to a certain configuration item. 

 

When I now open this CI in the CMDB, I would expect that the linked KB articles are shown somewhere here...but I cannot find them. Does anybody know how to see them?

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi @Ulrich Schulte ,

 There is no Existing relationship exists as what you are looking at. 

However, Knowledge articles are related to configuration items using m2m_kb_ci table



Here is the custom relationship you can define using

System Definition > Relationships


SandeepDutta_0-1677675481690.png

 


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

View solution in original post

6 REPLIES 6

Thx - unfortunately customization is not welcome in our company...the policy is to do things with OOTB functionality only. Hope ServiceNow might enhance this in some future release then.

I know a lot of people are going OOTB way but some large key things are missing in ServiceNow for Knowledge Management. I also added a tab with list of CI associated to the Support Group in the Support Group form. These two things drastically reduced the time needed for the Knowledge Management team to help Support Group Managers and CI Owners find their articles. Our company does have a Demand team to make sure there is value in an enhancement before hand. Otherwise, agree in that regard you don't want duplicate enhancements or things that are not worth the lift.