Regarding modifying closing setup Topic for VA

Debosree Sinha
Tera Contributor

Hi All,

I'm currently using San Diego release for my project.

I want to change the default Setup topic-Closing Conversation Customised to a new Setup closing Topic specific for Canada territory.

I have created CA specific setup topic for closing conversation and created a New custom Greetings & Setup(Conversational interfaces->settings->Virtual Agent->Custom Greetings & Setup).I've also used script so that it points to Canada territory(both in new setup topic as well as Custom greeting and setup for CA chat experience).

However, when I'm testing, VA is pointing to the default Setup topic instead of one which I've created for CA territory(CA closing Conversation)

2022-11-09_21-24-32.png

Is there anything I'm missing here?Could anyone guide me what else need to be checked to make sure VA points to new Setup closing topic instead of earlier global setup closing topic?

Thanks in advance!

5 REPLIES 5

Muralidharan BS
Mega Sage
Mega Sage

Have your defined the conditions for the custom greeting and change the order to the less than default greetings

 

settings->Virtual Agent->Custom Greetings & Setup > open the custom greeting and set the condition, 

 

Murali_s_0-1668061949392.png

 

Also can you share info on where did you script.

 

 

Debosree Sinha
Tera Contributor

My default chat experience has order -1000 .My canada specific CA chat experience order -500. I do not want to change the global one as it is already used by other territories.Is there any other place I can modify my order to make it higher.It seems 1000 is the highest value

2022-11-10_10-35-34.png

Also, I attached the script which I attached CA chat experience on the greetings section.

Could you pls let me know which instance you are using as your UI seems bit different.

The screenshot above is from table - sys_cs_context_profile where the greetings gets stored. 

 

I think the easy one to implement and maintain is, clone the closing conversation which is in the default view and add a new branch for Canada entity, 

 

Murali_s_0-1668187122785.png

 

 

There is vainput variable available to access metadata, can you try the below script to divert all users from those company. 

 

 

    var canadaEntity =  vaInputs.user.getValue('company') == 'sysid of the company' ? true : false;
    return canadaEntity;

 

 Also when testing login as a user with right company name from a different browser to try it. 

Thanks

Hi , I tried the way suggested by you as well.But it didnot work.

I was wondering, is there anything to be done on system table ?

(as mentioned in the changing greetings section):-

https://docs.servicenow.com/bundle/quebec-now-intelligence/page/administer/virtual-agent/task/va-wel...