OriginalPostID-184786
Discussion posts and replies are publicly visible
Chiming in to add that I just noticed this issue (in the case of "index({4, 5, 6}, {1000}, {})"), and it still seems to be unresolved as of Appian 18.2. I had to work around it by making the default output to null() then removing nulls from the resulting array, which seems like kind of an unnecessary pain.
index({4, 5, 6}, {1000}, {})