I want to reorder a particular set of roles of a reference table where i have given the order in attribute3 but the order is not changing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2022 09:50 PM
I have created a lookup select box variable with a reference field where all the roles will be fetched.
However, i am not able to reorder the roles as per my requirement,
the script that i have used is below, and i am giving the order number in attribute3.
could someone help.
javascript: 'u_application.u_application_name='+current.variables.business_application+'^u_application.u_application_access_request=true^ORDERBYu_attribute3';
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2022 01:36 AM
Hello Chetan,
I've faced this issue and I dont think this is supported somehow.
It doesnt work in the qualifier or the attributes itself.
Please mark the answer correct if it helps you!!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2022 03:51 AM
Hi,
Did you tried ref_ac_order_by in attributes?
https://docs.servicenow.com/bundle/quebec-employee-service-management/page/product/service-catalog-management/reference/variable-attributes.html
Thank you
Prasad