Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
3 replies
Subscribers
7 subscribers
Views
1539 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
In Appian 7.3, when you have a list of one CDT nested inside another CDT, is it
prestonb
over 10 years ago
In Appian 7.3, when you have a list of one CDT nested inside another CDT, is it possible to access the nested CDT on the Outputs tab? ...
OriginalPostID-122399
OriginalPostID-122399
Discussion posts and replies are publicly visible
0
Aleksi White
Appian Employee
over 10 years ago
To clarify, you're saying you have a CDT that is multiple inside another CDT? Are you trying to access all indexes of that nested CDT, or just a specific one?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
prestonb
over 10 years ago
Correct, a CDT that is multiple inside another CDT. I would be fine updating all of them or a single one. I just cannot see a way to store a value in, for example, pv!cdtHeader[1].cdtLine[2].bApprovedFlag...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Aleksi White
Appian Employee
over 10 years ago
As an example, let's say the CDT structure follows something like this:
{label:1, value:3, multiples:{{field1:2, field2:4, field3:6},{field1:1, field2:3, field3:5},{field1:8, field2:9, field3:10}}, info:8}
And this is all stored in pv!CDT. If you want to access one of the nested multiple CDT's fields, then you would use this:
pv!CDT.multiples[2].field2
This will return 3, the value of field2 at the second nested multiple CDT. From there, you can update the value as you want.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel