How to fetch data from nested CDTs data
I have a nested CDT which contains the response from a service.
I want to fetch the data from nested levels.
'type!{urn:com:appian:types}testCDT'(
id: null,
response: 'type!{urn:com:appian:types}response'(
users: {
'type!{urn:com:appian:types}users'(
userId: "12345",
groupId: "2342",
addresses: 'type!{urn:com:appian:types}userAddress'(
type: "test",
street: "New",
addressLines: { "a", "b" },
countryCode: "980",
postalCode: "6456"
)
),
'type!{urn:com:appian:types}users'(
userId: "2568",
groupId: "8995",
addresses: 'type!{urn:com:appian:types}userAddress'(
type: "NEw test",
street: "Old",
addressLines: { "c", "d" },
countryCode: "589",
postalCode: "2546"
)
)
}
)
)
I am trying to fetch the addressLines data due to multi level, I am not able to fetch the data.
Is there any other way to get the data?
