Incident - Attach Knowledge Article apply template

angel7170
Tera Contributor

Hello - 

 

In the incident record, under Related Search results, there is a button "Attach" to attach the knowledge article to the incident record. In this we have a requirement, if the knowledge article has a custom field (u_Template) referenced to the (sys_template) table, then we need to apply that template to the incident record.  

 

How can I achieve this? Could you please assist?

 

Thank you

4 REPLIES 4

Hristo Ivanov
Kilo Sage

hey Angel,

 

Can you provide the script from the button? 

 

BR,

Hristo

 

Hi Hristo - 

 

It is under Table configuration. I don't think there is a script for this action

 

angel7170_0-1748873309071.png

 

 

angel7170_2-1748873442828.png

 

This is under Contextual Search > Table Configuration 

Incident record

 

got it, thanks, well according to the documentation the changes that you can do to those actions is pretty limited: 

The search actions that you can modify are as follows:

  • Action label: Label on the action button on the preview window. For example, This helped or Attached To Incident.
  • Attachment type: Method to attach a knowledge article with the record. You can embed a link (recommended) to the article or embed a copy of the article.
  • Show on new record: Enables the Attach button to appear when you are creating a record. Prior to the London release, the user had to fill out and save the form, then re-expand the related search results to access the Attach button.

https://www.servicenow.com/docs/bundle/yokohama-platform-administration/page/administer/contextual-s...

 

Please mark my comment as helpful or correct if it helped you

 

BR, 

Hristo