How to populate interaction context variables for any interaction in virtual agent

Niharika5
Tera Contributor

How to populate interaction context variables for any interaction in virtual agent?

 

I have created a context variable, which is visible in the interaction context record for that particular interaction(when we had conversation with VA) but the values assigned in those context variables are not visible in  interaction context record.

 

What could be the reason?

 

First of all I want to understand is how this record is getting populated.

 

 

1 REPLY 1

Rishi_11
Mega Sage

Hi @Niharika5

 

How are you setting the value in the context variable? Please check if value is being populated in to variable or not by testing the topic in Designer. 

 

You will need to use something like to below to set value in the variable in the script action utility of the topic.

vaVars.LiveAgent_u_ur_custom_variable.

 

Please mark this answer as Helpful, if this resolves your query.

 

Best Regards,

Rishi.