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?

Chetan A S
Mega Contributor

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'; 

2 REPLIES 2

pratikjaiswal
Tera Guru

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!!

Prasad Pagar
Mega Sage

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