Need the ability to restart VA or end conversation and start a new one within a topic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2022 02:41 AM
Hi All
I have a requirement for the virtual agent to essentially reboot or restart itself. With the initial greetings topic, our end users select a couple of options that are then used to tailor the journey through VA and limit topics being displayed.
I need to have an option that ideally restarts the conversation. I have been using switchtopic but recently changed to using topic discover and a script that points the conversation to the greetings topic. This is working ok, but I have ran into some difficulties.
Is there any other way to essentially reboot the VA using a script and not via the end conversation button?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2022 05:21 AM
HI Andy,
You can use a script like this:
(function execute() {
vaSystem.switchTopic("name of topic");
})()
You can replace the "name of topic" with the name of the Greetings topic.
This way you will somehow restart/initiate a new conversation!
Hope this helps!
Please, don't forget to mark my answer as correct if it solves your issue or mark it as helpful if it is relevant for you!
Best Regards,
Filipe Cruz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2022 12:01 PM
Hi Andy, we have customized greeting topic and I am facing the same issue. We would want the user to have the option to End the conversation anytime during the greetings topic. However when I am trying any of the mentioned solutions (topicdiscovery or the switchTopic methods) within the greetings topic I am getting error messages. Did you manage to resolve the issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2022 12:33 AM
Hi Andy
I wasn't able to find away to get VA to restart the conversation, However, by switching to the greetings topic again it essentially started the conversation again, although it still kept all transcripts etc under the same interaction number, it enables the end user to answer the questions I have in the greetings topic again. I hope that makes sense.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2022 12:56 AM
Hi Andy would it be possible to provide a screenshot of the implementation from your side? It did not work for me.