The CreatorCon Call for Content is officially open! Get started here.

Virtual agent Limit increase for Knowledge articles

Arpit Ahlawat3
Kilo Contributor

Hello All,

I want o increase limit of knowledge articles shown by Virtual agent using OOB contexual search for particular knowledge base. I have search Script include VAGlobalContextualSearchUtil but not able to pinpoint where it is restricting from can anyone help?

9 REPLIES 9

Mark Roethof
Tera Patron
Tera Patron

Hmmm interesting. I thought let's reproduce this.

The Limit is applied when you change 3 into 1 or 2, though... not when you raise it.

When trying to test the Bot Response Link manually, I also now get maximum 3 results. Haven't seen it on the docs, though this might be a limit on the Bot Response Link itself.

It's not the query on the Knowledge Articles. I've just debugged the length of search_kb_json_string for example, is fine. I've debugged the for loop, works fine is executing more than 3 times. Though, the Link is just not showing more than 3. 

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Mark Roethof
Tera Patron
Tera Patron

Reading the Docs again...

Use the Link bot response control in a Virtual Agent topic to present a bot response that contains a header prompt with either a single URL link to an item or multiple URL links for up to three items. For example, you can provide a single link to a website page or to a particular record, such as an incident. Or you can provide multiple links to different items, such as search results.

So that's why raising the limit doesn't work, while changing the limit to 1 or 2 does work. Bot Response Link, just goes up to three items.

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Mark Roethof
Tera Patron
Tera Patron

Hi there,

Did this solve your question? Or do we need to follow-up on this?

Please mark this answer as correct if it solves your question. This will help others who are looking for a similar solution. Also marking this answer as correct takes the post of the unsolved list.
Thanks.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Mark Roethof
Tera Patron
Tera Patron

Hi there,

Did this solve your question? Or do we need to follow-up on this?

Please mark this answer as correct if it solves your question. This will help others who are looking for a similar solution. Also marking this answer as correct takes the post of the unsolved list.
Thanks.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Mark Roethof
Tera Patron
Tera Patron

Hi there,

Did this solve your question? Or do we need to follow-up on this?

Please mark this answer as correct if it solves your question. This will help others who are looking for a similar solution. Also marking this answer as correct takes the post of the unsolved list.
Thanks.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn