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
8 replies
Subscribers
7 subscribers
Views
3691 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I'm trying to work with a process backed record and create either a feed or
jarrods229
over 10 years ago
I'm trying to work with a process backed record and create either a feed or grid view of a CDT list.
Every time I try and de-reference the CDT it seems to treat it like a list of text rather than the actual CDT type.
If I want to return a child property from the first element in the list using the formula
if(rule!APN_isEmpty(rf!accessUserList),"None",rf!accessUserList[1].accessUser)
I get the error:
Expression evaluation error : A grid layout column [label=“Label”] has an invalid value for “component”. The component in row 1 encountered the following error: Expression evaluation error : Invalid index: Cannot index property 'accessUser' of type Text into type Text
OriginalPostID-194705
OriginalPostID-194705
Discussion posts and replies are publicly visible
Parents
0
Tom Ryan
Appian Employee
over 10 years ago
Do you see the same behavior if you use the index function rather than dot notation to return the child property?
Eg from the docs here
forum.appian.com/.../Array_Functions.html
index(pv!person, "firstName", "") returns the value of the "firstName" field in a CDT of person
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Tom Ryan
Appian Employee
over 10 years ago
Do you see the same behavior if you use the index function rather than dot notation to return the child property?
Eg from the docs here
forum.appian.com/.../Array_Functions.html
index(pv!person, "firstName", "") returns the value of the "firstName" field in a CDT of person
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data