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
1927 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Entries should be in descending order
praveenkumark
over 7 years ago
Hi all
Entries should be in descending order for audit trial used sort and a!sortinfo() but not working please provide me any suggestions
OriginalPostID-232166
Code.txt
Discussion posts and replies are publicly visible
0
mohammedz
A Score Level 2
over 7 years ago
local!pagingInfo:a!pagingInfo(
startIndex:1,
batchSize:cons!XXXXXXXXXXX
sort:a!sortInfo(
field:"c6"
)
),
Have you tried passing the cell column into Sorting and tried. Its should work
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
praveenkumark
over 7 years ago
tried this getting below error
Error Evaluating UI Expression
Expression evaluation error in rule 'eumobaudittrial' (called by rule 'eumobprocessbakedrecorddashboard') at function a!gridTextColumn [line 27]: Invalid index (1) for null value of type List of Variant (APNX-1-4198-000
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mohammedz
A Score Level 2
over 7 years ago
Since you are getting data from Process report in the columns "C1" might have two data in the same cell
like .... [mumbai,Goa] expected should be 1 now in your report u have two data in any of the cell
Make a expression in the process report cell like get only the first Index. Looks like there is an issue at data in your process report. Once that is fixed hope u could get expected sorting results
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 7 years ago
@praveenkumark Would you be able to attach the result (of at least one record, i.e. set the batch size to 1) of the a!queryProcessAnalytics() call? This helps the practitioner identifying the issue quickly.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel