Hello,
I have a array of integer [1,2,3,4,5,6,7,8,9,10,11] is there any function which will give me elements of array if I pass index.
or what's the way to get batches of array in particular set.
e.g. [123],[456],[789],[10,11]
thanks,
Tushar
Discussion posts and replies are publicly visible
try this
fn!sort( union( {1,2},{3,4},{5,6} ) )
For what it's worth, sort() is an unlisted function, and therefore not officially supported by Appian and not guaranteed to always be available or to work in a consistent way. Besides, if the elements are already relatively in order when passed into union(), they'll stay in that same order in the resulting array.
Also, this thread was from 2 years ago, so hopefully this user isn't still in 17.2 ...