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

Hi @tqminh2406 

 

Try like this:

 

AGLearnNGrow_0-1709197837487.png

 

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