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.

Script for Contextual search to KB.

js20
Mega Guru

I have use case to get knowleadge base article (top 5) based on context form Virtual Agent. Is there a way to trigger search (spoke/API..... )???

3 REPLIES 3

Sumanth16
Kilo Patron

Hi @js20 ,

 

Contextual Search > Table Configuration > Filter Configurations > New Filter > adding a resource configuration of Knowledge Articles > check Scripted Filter checkbox > Adding in a script to filter matching results based on the 2 fields

 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda

js20
Mega Guru

I dont understand. I am in Contextual Search > Table Configuration   and now what should I do?

Uday Kumar1
Tera Contributor

Hi @Sumanth16 ,

 

Do we have any sample script for filtering in the contextual search results based on the fields.

 

Thanks,

Uday Kumar