End Conversation button not enabled

ankit_sharma487
Kilo Guru

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.

 

@Mark Roethof 

 

find_real_file.png

20 REPLIES 20

Muralidharan BS
Mega Sage
Mega Sage

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();

 

 

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.

(function execute() {
      vaSystem.switchTopic(vaInputs.all_topics.getDisplayValue());
})()

 

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

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!

You've Welcome!