- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2020 10:52 AM
Is there any variable in chatbot which stores the term entered by user and searches for topic keywords? I tried using vaVars.global_search_text, but it's not working. Is there any variable in system which stores the query entered by user?
Solved! Go to Solution.
- Labels:
-
Virtual Agent

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2020 11:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2020 11:14 AM
The vaVars.global_search_text is only populated from the text entered before the greeting topic. As far as I know, it is not used on the service portal only in third-party messaging apps. You would need to grab the text and store it in something yourself.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2020 11:42 AM
vaSystem.getSearchText() will get what the user typed in.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2020 12:16 PM
Check out this video and it will help you out with all kinds of variables in VA.
https://youtu.be/2--Z_2hKA_c
Please mark this comment as Helpful/Correct Answer if it helped you.
Cheers,
Hardit Singh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2020 12:19 AM
Hi
I have installed 2,3 language plugins in my instance.
I understood how to translate TOPIC TITLES into multiple languages and how the other labels, choices related info is getting translated and what should be done for it.
But I have a query with the global search in virtual agent with NLU.
I am using NLU and my NLU is working fine when I impersonate a user whose language is English.
When we login to a different language user, then he can see the topic names and topic details in their own language, but, even if I search with exact topic names in their own language, Virtual agent is not identifying the topic automatically and it is saying that it didn't understand.
Is there any restriction that this search of topic discovery won't work in other languages?
Thanks
Rafi