Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Variable Attribute for Reverse Sort

kshaw
Giga Guru

I have a reference variable in a cat item. I want to display the list sorted in reverse order (z - a)

All references to ORDERBY in documentation give no indication of direction.

1 ACCEPTED SOLUTION

Narsing1
Mega Sage

You can try with "ORDERBYDESC" instead of "ORDERBY"

Thanks,

Narsing

View solution in original post

2 REPLIES 2

Narsing1
Mega Sage

You can try with "ORDERBYDESC" instead of "ORDERBY"

Thanks,

Narsing