How to set the default sorting in the reference field for all the user in custom scope?

Ankita Kolhe
Tera Contributor

Hi Community,

 

I want to set default sorting in  the reference list based on ASCENDING order of 'ORDER' field:-

I tried with the solution mentioned on below link:-

 

https://www.servicenow.com/community/now-platform-forum/sort-in-ascending-for-reference-field/m-p/10...

 

Also, tried with the below Business rules:-

 

1. Before Insert/Update BR with condition- Name is iogc_choice_definitions.db.order

 

AnkitaKolhe_0-1707732513002.png

2.Before Insert/Update BR with condition-Name is iogc_choice_definitions.db.order.direction

AnkitaKolhe_1-1707732601107.png

 

But neither of the solution is working.

 

Could someone please help me on this?

 

Thanks,

Ankita

 

 

5 REPLIES 5

Hi @Ankita Kolhe 

 

So when user close the reference pop up window & again opens the reference list, then default sort should be applied(see screenshot 1) instead of the sort did by user(screenshot 2).

Atul: I think this will not work my gut feeling, reason can be sort is changed already after load and it may be some cache it keeping it like this.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************