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
5 replies
Subscribers
8 subscribers
Views
2386 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hello: When I create a query rule of all rows of a CDT that contains
marky
over 10 years ago
Hello:
When I create a query rule of all rows of a CDT that contains a nested CDT in a one-to-many relationship, using the dot notation to access the Appian foreign key field results in an error "Cannot slice index (index by name on a list) when the element has no list type".
For example: rule!queryAllCDTs.oneToManyLinkToCDT
Logically, the field that is a foreign key to a one to many CDTs is just an array of CDTs, and should be able to be retrieved from the datasubset.
Thank you...
OriginalPostID-114430
OriginalPostID-114430
Discussion posts and replies are publicly visible
Parents
0
marky
over 10 years ago
The only way is to iterate through every element using the looping functions ( apply ). As far as I can tell this is a problem inside of Appian, because logically there should not be an issue.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
marky
over 10 years ago
The only way is to iterate through every element using the looping functions ( apply ). As far as I can tell this is a problem inside of Appian, because logically there should not be an issue.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data