Virtual Agents new "Anything else topic" functiona... - ServiceNow Community
Mark Roethof
Tera Patron
Tera Patron

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

 

Hi there,

 

You've probably noticed, with New York Virtual Agent got several enhancements. One of them is the "Anything else topic" functionality. New functionality that's not been mentioned that much. I'm writing this short article to explain how the "Anything else topic" works.

System settings

Navigating to "Collaboration > Virtual Agent > General Settings" brings you to the new "System settings" UI Page. The UI Page shows several Setup Topics which could be selected. Setup topics like a "Greetings topic", "Survey topic", etc.. One of them is the "Anything else topic". You might already notice… by default it's left blanc, while out-of-the-box there is a topic provided called (how appropriate) "Anything Else Topic".

 

find_real_file.png

Out-of-the-box look and feel

If a user ends a topic, for example the out-of-the-box "Open IT Topic", the topic configured as "Anything else topic" will be started. The out-of-the-box topic will basically provide the below question:

 

find_real_file.png

 

"Yes" will result in displaying the Topic Picker, so the user could start a new topic.
"No" will result in - if configured - starting the topic configured as "Survey topic".

 

Basically the flow is:
Topic picker > Selected topic > Anything else topic
No: Survey topic
- or -
Yes: Topic picker

 

Note: After the configured "Survey topic" (or if not configured), the chat will just end. This is different as Pre-New York where a new conversation would start immediately. You can still start a new conversation, though you have to do this manually thru the "+" sign on the top right, or the "Click here to start a new conversation" bar on the bottom.


How does the topic design look like

The canvas for the out-of-the-box "Anything Else Topic" looks pretty straight forward. Personally I don't see a reason to change this out-of-the-box topic. Where I usually say that out-of-the-box Virtual Agent topics should be seen as templates, this topic could be applied right away!

 

find_real_file.png

 

If you would like to change the messages within the out-of-the-box "Anything Else Topic", consider using UI Messages for this [sys_ui_message table]. Also for overwriting English phrases like "Is there anything else I can assist you with?". There's no need to change the topic for this. Just look if there is already an existing UI Message which could be updated or add a new one.

Need to know when building a custom topic

If you are planning to build custom topics, and wish to use the Anything else topic, is there anything to keep in mind? Anything need to know when building a custom topic?

 

Not in particular. Two things to note:
1) Don't mimic a "Send Topic Picker" step before the end step in your topic. The topic picker is already set up within the out-of-the-box "Anything Else Topic".
2) Within the Virtual Agent Designer, on the Topic Properties, don't forget to define the Category ("Setup Topics"). If you would leave this out, your topic won't be selectable on the System Settings Setup Topics section.

---

 

C

If this content helped you, I would appreciate it if you hit bookmark or mark it as helpful.

 

Interested in more Articles, Blogs, Videos, Podcasts, Share projects I shared/participated in?
- Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

 

Kind regards,


Mark Roethof

ServiceNow Technical Consultant @ Paphos Group
---

LinkedIn

Comments
Yasmin
Kilo Guru

Hello,
When opening the virtual agent in my developer instance, it greets me and then immediately shows the "Anything Else" topic. If I inactivate the "Anything Else" topic, then it shows the Feedback topic right after the greeting, and so forth. 

Wondering where to fix this and what could be triggering for the conversation to go into these stages without even starting the conversation.

Thank you.

Mark Roethof
Tera Patron
Tera Patron

Hi Yasmin,

Doesn't ring a bell immediately.
Can you share what you've set up under your Setup Topics? Also how does your Greetings topic look like, because this is triggered?

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

---

LinkedIn
Community article list

Yasmin
Kilo Guru

Hi Mark, this is what's set up in my Setup Topics. 

find_real_file.png

 I am using "Personalized Greeting" Topic. I should mention that the error goes away when I use "Greeting" Topic. But if I use Personalized Greeting, then the "Anything Else" topic prompts right after the "How can I help you?" message. 

Greetings Topic set up:

find_real_file.png

This is how it looks in the VA user interface:

find_real_file.png

 

Appreciate any insight. 

Yasmin

Mark Roethof
Tera Patron
Tera Patron

Don't see anything odd quickly. Though, how does your "Personalized Greeting Topic" look like?

Not sure, was it you who had a question on the Virtual Agent Academy 2-weeks ago? About changing the widget width? If so, have a look at:
Changing the Service Portal Virtual Agent widget CSS properties (height, width, icon, etcetera) 

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

---

LinkedIn
Community article list

Yasmin
Kilo Guru

This is how the out of the box "Personalized Greeting" looks like, and the script.

find_real_file.png

find_real_file.png

Compared to the "Greeting" setup topic, I can see that it's missing the "Send Topic Picker" portion on the flow, which may be why when using the OOTB "Personlized Greeting" set up topic it's sending the "Anything else" topic right after the personalized greeting? I don't know if this was done on purpose for us to figure it out?

I have duplicated the "Personalized Greeting" setup topic, added the "Send Topic Picker" copying the same script from the "Greeting" setup topic flow and it seems to have solved it 🙂 

By the way, thanks for sharing the article on changing the size of the web widget of the VA UI. Yes, it was me asking about resizing the chat web widget.

Nikhil Pardhe
Kilo Contributor

Hey Mark

we have a new requirement to integrate our own translation api into virtual agent. Basically we want to do language translation in virtual agent.

 

This is what we already accomplished in connect and queue chat. As you can see in below screenshot agent sends something in English and it get translated to user's(Abel tuter) default language which is German in this case.

In connect/queue chat we have written business rules to fetch the chat messages from live_message table and sent it to our Translation API for translation then whatever the response we receive from API will get stored into same table as formatted message column.

find_real_file.png

find_real_file.png

 

this is exactly what we want to do in virtual agent.

Does virtual agent conversation(user chats and bot response) with user gets store anywhere? So that I could write business rule to fetch the chat messages and sent it out to our translation API for translations.

I found out that the conversation is stored in sys_cs_message table as you can see in below screenshot. But it seems the message is encrypted.

 

Also, I have gone through Virtual agent localization docs but it wasn't much helpful . https://docs.servicenow.com/bundle/orlando-performance-analytics-and-reporting/page/administer/virtu...

 

any help would be much appreciated!!!!!

 

Many thanks!!!!

 

Regards,

Nikhil

Mark Roethof
Tera Patron
Tera Patron

Hi there,

Are you after the complete conversation? If so: you could get this with vaSystem.getTranscript().

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

---

LinkedIn
Community article list

Nikhil Pardhe
Kilo Contributor

nope. 

As soon as user send any message or bot replies, I want to get that message and sent it out to API for translation and append the response to original message.

Vibhor2
Tera Contributor

We have observed that with new Now assist assistant Anything else is not triggering after every topic. Some times it directly go to Survey. is it right assumption that anything else topic will trigger every time if a topic completes.

 

Regards,

Vibhor

Version history
Last update:
‎08-13-2024 10:55 AM
Updated by:
Contributors