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
2 replies
Subscribers
7 subscribers
Views
1326 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Hi Team, Any idea how to sort CDT array in script task. I have used r
madhankumarb
over 8 years ago
Hi Team,
Any idea how to sort CDT array in script task. I have used rule!APN_sortComplexTypes function. It was working fine in Appian 7.8 but in Appian7.9 it is giving below error,
Details: ERROR:An error occurred while evaluating expression: BAWRootCauseType:rule!APN_sortComplexTypes(pv!BAWRootCauseType,"Completed_Date",false) (Expression evaluation error in rule 'apn_sortcomplextypes' at function 'todatasubset' [line 6]: Error evaluating function 'todatasubset' : An invalid start index of 0 was passed in. Start indices must be greater or equal to 1.) (Data Outputs)
This is working fine without any issues in Appian 7.8
Any help.
Regards,
Madhankumar. B
OriginalPostID-155878
OriginalPostID-155878
Discussion posts and replies are publicly visible
Parents
0
madhankumarb
over 8 years ago
Thanks sikhivahans for help and code snippet
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
madhankumarb
over 8 years ago
Thanks sikhivahans for help and code snippet
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data