Background: Using integrations I have called several endpoints and pulled the data into a map with nested maps. I now need to move values from the nested map to the parent, as they are all 1:1 relations.
a!localVariables( local!CDT: a!map(id: 1, name: "Walt Disney", demographics: a!map(age: 73, gender: "M")), local!CDT)
This returns:
Map
what I am in the need of is:
a!map(id: 1, name: "Walt Disney", Age: 73, gender: "M")
Discussion posts and replies are publicly visible
Hello jordanf0001,
You might need to map it again.
once you get the values you can map it into a different local variable by indexing.
Below is an example of how your data can be organized based on your requirement. Hopefully it helps.
1.
or
2.