Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

KB Link is to showing in the incident notification

Puneet4418
Tera Contributor

Hi,

When a KB article is attached to an incident the additional comments is updated with KB article content and notification is picking up the entire code tag instead of link.

How can I fix this issue? I want KB article link in the notification.

4 REPLIES 4

Dr Atul G- LNG
Tera Patron

Hi @Puneet4418 

 

Could you please provide some screenshot.

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Hi @Dr Atul G- LNG , here is the screenshot.

 

Puneet4418_0-1711623945454.png

 

I think it is OOTB way toi appear in Incident.

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Pushpanjali
Tera Contributor

@Puneet4418 

use link.query() and link.next() in your mail script.

 

template.print("<a href=\'" + instanceName + "nav_to.do?uri=kb_knowledge.do?sys_id=" + link.sys_id + "\'>" + link.number + "</a>");

 

 

If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards

Pushpanjali