Issue with setting context variable during live agent initialization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â02-15-2024 11:13 PM
Hi All,
I've created a context variable and was trying to set the value in it while initiating the live agent so that I can use the context variable value in the AWAs service channels conditions, but I'm facing an issue here
Context variable:
Name: liveAgentFromHex
Script Variable Name: LiveAgent_liveAgentFromHex
Code written in script action utility of Live Agent VA topic:
Variables tab while testing Live Agent VA topic:
Showing value of LiveAgent_liveAgentFromHex as -(NULL)
Logs tab while testing Live Agent VA topic:
LAH1: Yes
LAH2: Yes
Could someone assist me in understanding why the value isn't being set to the context variable despite being captured in the logs?
- Labels:
-
live agent chat
-
LiveAgent
-
Virtual Agent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â02-18-2024 09:41 PM
Though information provided seems not enough I might suggest few things.
1- Look at the scope and how you reference your script include.
2- Print the various objects of vaVars and observe what values are being set.
I would love to understand what you are trying to do. I know script can be done to make decision but why not update the Topic to do same operation.