Skip to Content
0
Jun 25, 2020 at 11:44 PM

How to access memory from a variable in SAP CAI?

351 Views

I'm trying to upset a variable in SAP CAI from another variable inside the memory e.g I have the following variables in the memory:

memory {

"tv": { "id": "001, "price":500}

"product": { "name":"tv", "price":500}

}

"product" comes from a skill where I previously asked the user which product want to eliminate from a shopping car. What I tried was this:

In EDIT MEMORY action in Unset memory field I put this:

{{memory.product.name}}

But it doesn't work. Even I tried this :

{{memory.{{memory.product.name}}}} but neither.

I would be very grateful if someone could help me.