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
4 replies
Subscribers
7 subscribers
Views
2134 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I have a CDT which has Amount as a field. I need to sort the CDT based on Amount
jaishankarj
over 8 years ago
I have a CDT which has Amount as a field. I need to sort the CDT based on Amount field while working on the CDT in process flow. What could be the best way of achieving this?
OriginalPostID-163021
OriginalPostID-163021
Discussion posts and replies are publicly visible
Parents
0
Josh
Certified Lead Developer
over 8 years ago
Should look something like this:
todatasubset(
pv!cdt,
a!pagingInfo(
startIndex: 1,
batchSize: -1,
sort: a!sortInfo(
field: "yourfield",
ascending: true
)
)
).data
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Josh
Certified Lead Developer
over 8 years ago
Should look something like this:
todatasubset(
pv!cdt,
a!pagingInfo(
startIndex: 1,
batchSize: -1,
sort: a!sortInfo(
field: "yourfield",
ascending: true
)
)
).data
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data