End Conversation button not enabled
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2020 08:09 AM
Hi ,
I have below instance on Orlando which has END Conversation button active and its working while on other instance which is on NEW YORK, i dont find this button, any clue or you faced this previously.
- Labels:
-
Virtual Agent

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2020 11:06 PM
Hi Ankit,
Are you trying to use switchtopic() to move to another conversation, if so use this below. I can the see the end conv is disabled when using switchtopic but not when we use topic discovery.
vaVars.global_search_text = 'topic name';
vaSystem.topicDiscovery();

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2020 08:47 AM
Hi Murali,
I'm experiencing similar issue. I had a request to not use OOB topic to show all topic. Instead we are usinga static choice list to present all topics to the user (this allows us to reorder the topics as required by business). We use the switchtopic variable to take the user to the selected topic, but this causes for the X end conversation icon to be disabled. I'm in New York version.
vaVars.global_search_text = 'topic name';
vaSystem.topicDiscovery();
Where should I place the code you presented above? is it within the switch topic function? This is how my function looks like currently.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2020 11:44 PM
Hi Yasmin,
Currently the end conversation is not linked to [switchTopic] method. It is only linked to topic discovery. so if you use anything apart from topic discovery then the button will be frozen.
you can try this instead of swtichTopic, remove the line completely and use this.
(function execute() {
vaVars.global_search_text = vaInputs.all_topics.getDisplayValue();
vaSystem.topicDiscovery();
})()
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2020 02:59 PM
Thanks Murali! This worked nicely. When I first tried it, I noticed that my script was throwing a validation to the user requesting to confirm the selected topic , and it was because intead of using '=' as per the sample script you provide, I was using '==' which caused the function to not.
(function execute() {
vaVars.global_search_text = vaInputs.all_topics.getDisplayValue();
vaSystem.topicDiscovery();
})()
Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2020 07:39 PM
You've Welcome!