Hii i am new to Kore.ai i am exploring kore.ai feature. I have created a script node to validate data and sending valid response to the user.
ScriptNode name: ProcessData
has this script
context.moneyLeft;
if(context.entities.Money<=30000) {
context.moneyLeft = {
“money” : 30000-context.entities.Money,
“message” : “Money tranfered Successfully.”
};
}else {
context.moneyLeft = {
“money” : 30000,
“message” : “Sorry you don’t have this much amount in your account.”
};
}
When i am trying to use
{{context.ProcessData.moneyLeft.money}} inside message node after BotAction Node, i am getting error.