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.

How to Create a "Create Knowledge" UI Action for Universal Request in Native View?

Sachithananda 1
Tera Contributor

I need to create a Knowledge Article from a Universal Request, similar to how we have the "Create Knowledge" option for incidents.

For the SOW, I was able to achieve this by creating a Form Action (like we have for incidents) and modifying the "Set KB Data" client script.

However, in native view, I noticed that the "Create Knowledge" UI action for incidents uses multiple Script Includes.

What is the best approach to implement a Create Knowledge UI Action for Universal Request in native view?
Should I replicate the incident approach with Script Includes, or is there a recommended alternative?

1 REPLY 1

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Sachithananda 1 

 

I don’t think it is valid use case the reason is UR is mainly just to start with basic. The key is UR is to link incident or request and knowledge must or to be created from that record only. If you create knowledge from UR then you are going to add more technical debt also the source on kb will be UR  

*************************************************************************************************************
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
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/atul_grover_lng [ Connect for 1-1 Session]

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