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
7 replies
Subscribers
7 subscribers
Views
3212 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
How to loop through an list(CDT) and print its indexes in a grid?...
padmanabhanv
over 11 years ago
How to loop through an list(CDT) and print its indexes in a grid?...
OriginalPostID-93501
OriginalPostID-93501
Discussion posts and replies are publicly visible
Parents
0
Sathya Srinivasan
Appian Employee
over 11 years ago
can you not simply use enumerate(cdt.length)? this will give you a sequence number. If you want an index that starts with 1, you can try adding 1 using apply(sum, enumerate(cdt.length),1) - However, make sure your CDT has a column to store this info.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Sathya Srinivasan
Appian Employee
over 11 years ago
can you not simply use enumerate(cdt.length)? this will give you a sequence number. If you want an index that starts with 1, you can try adding 1 using apply(sum, enumerate(cdt.length),1) - However, make sure your CDT has a column to store this info.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data