Virtual Agent Context (vaContext) variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2022 02:48 PM
Hi there,
In Virtual Agent I can introduce new virtual agent context (vaContext object) variables adding query string parameters (sysparm_variable1, sysparm_variable2) to the Virtual agent web URL.
Is there a way to add new context variables via a script. My requirement is to introduce vaContext variables when the user start a new chat session.
I cannot use chat context variables (vaVars object) as this fails for certain types of scenarios (NLU discovery).
Let me know your thoughts.
Thanks,
Sushant
- Labels:
-
Virtual Agent

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2022 09:18 PM
Hi Sushant,
Yes, you can create a new variable there are quite a few ways to do it,
1. Create a variable by going to conversational interfaces > settings > general > context variable
2. Go to the topic itself and create a variable,
You can access the variable using - vaContext.variablename
Thanks