We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Variable value show based on order

Ramjee
Tera Expert

I have a requirement to display records from a custom table in a specific sequence (based on defined order) instead of the default alphabetical order in a type of lookup select box variable.

Please help with the appropriate approach to achieve this.

 

Thank you 

Ramji

6 REPLIES 6

Ankur Bawiskar
Tera Patron

@Ramjee 

share screenshot of your variable config and which column you used.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

Abhishek_W
Mega Guru

Hi 

  I have implemented your requirement  it is working fine  as my custome table is "test demo" with order as 1, 2, 3 and display field as urgency 

Screenshot 2026-02-27 115350.png

Screenshot 2026-02-27 115704.png

output as expected

Screenshot 2026-02-27 115917.png

 

 

👍if you find this solution any helpful, accept the solution  ,give a thumbs up 😊

 

Regards,

Abhishek