SOW KB Article

Community Alums
Not applicable

Hi All,

 

On the SOW Incident form,  the KB article is getting attached to the incident using OOB Attach button.

However, i want to know how it is getting attached to incident an article. Could anyone please let me know the backend process(scripts being used and configuration made on this by ServiceNow).

JPRamyaPriya_0-1698333096072.png

 

Any help is appreciated!

Thanks in advance !!

1 ACCEPTED SOLUTION

Hi @Community Alums 

So, you can have a look into this Macro below.

Name: cxs_result_table

URL: https://<instance_name>/sys_ui_macro.do?sys_id=0cf64485373321003e7d40ed9dbe5d59

Screenshot 2023-10-30 at 11.14.55.png

 

You can also check the Table Configurations [cxs_table_config].

Screenshot 2023-10-30 at 11.17.51.png

Open the one for Incident, you will be able to find the list of Search Action Configurations under related list. And you will see the Attach action.

Screenshot 2023-10-30 at 11.19.32.png

 

Configure table for a contextual search

 

Cheers,

Tai Vu

View solution in original post

6 REPLIES 6

Tai Vu
Kilo Patron
Kilo Patron

Hey @Community Alums 

Let's check this table "Knowledge Applied to Tasks [m2m_kb_task]".

 

Let me know if it works for you.

 

Cheers,

Tai Vu

Community Alums
Not applicable

Thanks for the reply Tai!!

This table shows "m2m_kb_task" the list of records where the knowledge article attached to task.

 

Can i know using which script or configuration build to attach the KB article to an incident?

Hi @Community Alums 

Check these tables below.

Relevant Document [cxs_relevant_doc]: Groups the Relevant Document Detail individual recorded actions by search session.

Relevant Document Detail [cxs_rel_doc_detail]: The list of individual recorded actions. For example, Preview, This helped, Attach, or Order.

Feedback information on contextual search

 

After a record generated in that table, the rule below will trigger.

Name: Create m2m_kb_task record on attach
URL: https://<instance_name>/sys_script.do?sys_id=17293eedef62210066fc36caa5c0fb47

=> Just look into this Script Include KnowledgeAjaxSNC, you will see it insert new record into m2m_kb_task

Screenshot 2023-10-27 at 17.24.41.png

 

Cheers,

Tai Vu

 

Community Alums
Not applicable

Thanks Tai.

I did checked on script -- its some how helped me.

Could you also tell me, before attaching the article to an incident, first its getting visible in the Additional comment field of Incident and then attaching the article to an incident.