You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Variables not being Resolved

Received Response
edited Apr 8, 2019 4:50AM in Digital Assistant and Mobile 1 comment


Unable to resolve variable values when there are delayed replies from the user


Hi everyone,
I have a use case where there are multiple hyperlinks which I display after storing in variables. I stored all the references in a database and invoking a custom component to populate all the variable values at once when the user initiates the conversation. It works pretty fine when the user chats instantly. The problem arises when the user responds to the bot after quite a long time or the backend server reloads anytime after the variables are populated. 
I presume all the variables are stored in the "conversation" object and as long as the conversation is alive, the variables should persist the values. This doesn't happen in the above case. I see the $variable.value in the bot message instead of the actual value.

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!