Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

edited Apr 8, 2019 4:50AM in Digital Assistant & Mobile 1 comment

Summary

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

Content

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.

Register

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