How to fetch the same OOB Contextual Search / Related Search Results KB articles from Scripted REST

NikhilJosht4U
Tera Contributor

I need to fetch the same Knowledge Articles shown in the Incident form Related Search Results / Contextual Search from a Scripted REST APII checked the Contextual Search config and  Zing search in Scripted REST API.

But the REST API returns different KBs than the UI.

My question:

Is there any supported OOB server-side API / Script Include to invoke the same Contextual Search / Related Search Results engine used by the Incident form and get the same KB articles as the UI.

1 REPLY 1

Tanushree Maiti
Tera Patron

Hi @NikhilJosht4U 

 

Refer these post/KB:

https://www.servicenow.com/community/servicenow-ai-platform-forum/how-to-search-on-specific-fields-a...

 

KB0677239 Contextual search for knowledge articles not working anywhere. Articles past their valid t... 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti