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.

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

Thank you so much! this is what I've been looking for