How to give sort for a column in service now table

anur
Kilo Contributor

I have a servicenow table where i have a column named area...as soon as i click on the application , it should bring me the list sorted with ascending order of area.

Tried with " user preferences"   and dictionary but not able to get results. Please suggest if any alternatives.

10 REPLIES 10

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Anu,



So you want the list to be auto sorted based on the column area.



Controlling the sort sequence used to display lists



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Rajshekhar Pau1
Kilo Guru

Hi Anu,



In the module arguments you can add &sysparm_order_direction=desc or asc based on the requirement to sort it in ascending or descending order.



Hope this helps.


Please hit Like or mark Helpful or Correct based on the impact.



Regards,


Rajshekhar Paul


Hello Raj,



I tried the same on my Incident Number field, but the attribute mentioned isn't working. Could you please help.



-Hussain.


sushant007
Kilo Guru

can you please share the screenshot of application menu link on which you are expecting a click should give you list of sorted list?