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

Assing Variable TypeError: Cannot read property

edited Aug 20, 2019 4:38PM in Visual Builder 2 comments

Summary

TypeError: Cannot read property 'cantidad' of undefined

Content

Hi, i have a assign variable action, I am taking the result of a rest service and trying to map it to the screen variables

but the result is a json that comes in the following format

{

    "bOOrdenPedido.cantidad": "asd",

    "bOOrdenPedido.centroCostos": "asdasd",

    "bOOrdenPedido.costoUnidad": "asd",

    "bOOrdenPedido.detalle": "asd"

}

 

mapping is correct but at runtime it does not find the attribute,

$chain.results.callRestEndpoint1.body.bOOrdenPedido.centroCostos/

 

I think the error can be the marked

 

 

 

 

 

 

 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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