Check if an incident record has an attached kb article

tqminh2406
Tera Contributor

I have a request to check the current incident record if they have already had an attached KB article, I know that there is a formatter on my incident form that display all the attached KB article, but I have no clue how to access it to check, I've tried using hasAttachments() method but it's not working.

Screenshot 2024-02-29 155510.png

1 ACCEPTED SOLUTION

Amit Verma
Kilo Patron
Kilo Patron
5 REPLIES 5

James Chun
Kilo Patron

Hey @tqminh2406,

 

I believe they are stored in Relevant Knowledge - Tasks [cxs_relevant_doc_task_list] table.

 

Cheers

I think I've found it turn out it was located in the table called sys_collection

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @tqminh2406 

 

Try like this:

 

AGLearnNGrow_0-1709197837487.png

 

*************************************************************************************************************
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]

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

Amit Verma
Kilo Patron
Kilo Patron

Hi @tqminh2406 

 

Below posts could be helpful :

https://www.servicenow.com/community/itsm-forum/attached-knowledge-tab-not-visible-on-form-load-for-...

https://www.servicenow.com/community/knowledge-forum/how-to-show-the-attached-knowledge-related-list...

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.