How to decrease the limit of records of a Lookup Selectbox variable?

Rufino
Giga Guru

I know that the maximum limit of records that a Lookup Selectbox variable can show is 10000. I wanna to decrease this value to have a better performance on my catalog item.

 

Is this possible? If yes, how can I do that?

1 ACCEPTED SOLUTION

Rahul Kumar17
Tera Guru

Hi,

Yes, it is possible to decrease the maximum limit of records that a Lookup Selectbox variable can show in ServiceNow. You can achieve this by modifying the glide.ui.lookup.max_rows system property.

To modify this system property, follow these steps:

  1. Log in to ServiceNow as an admin user.
  2. In the navigation menu, go to System Properties > All.
  3. In the search bar, search for "glide.ui.lookup.max_rows".
  4. Click on the "glide.ui.lookup.max_rows" property to open it.
  5. Change the value of this property to the desired maximum number of rows that should be displayed in the Lookup Selectbox variable.
  6. Click the Save button.

By default, this system property is set to 10000. By decreasing this value, you can improve the performance of your catalog item by reducing the number of records that are loaded into the Lookup Selectbox variable. However, be aware that setting this value too low may limit the functionality of the Lookup Selectbox, as it may not show all the necessary records.

 

Thanks,

Rahul Kumar

If my response helped please mark it correct and close the thread.

Thanks,
Rahul Kumar

View solution in original post

6 REPLIES 6

Rahul Kumar17
Tera Guru

Hi,

Yes, it is possible to decrease the maximum limit of records that a Lookup Selectbox variable can show in ServiceNow. You can achieve this by modifying the glide.ui.lookup.max_rows system property.

To modify this system property, follow these steps:

  1. Log in to ServiceNow as an admin user.
  2. In the navigation menu, go to System Properties > All.
  3. In the search bar, search for "glide.ui.lookup.max_rows".
  4. Click on the "glide.ui.lookup.max_rows" property to open it.
  5. Change the value of this property to the desired maximum number of rows that should be displayed in the Lookup Selectbox variable.
  6. Click the Save button.

By default, this system property is set to 10000. By decreasing this value, you can improve the performance of your catalog item by reducing the number of records that are loaded into the Lookup Selectbox variable. However, be aware that setting this value too low may limit the functionality of the Lookup Selectbox, as it may not show all the necessary records.

 

Thanks,

Rahul Kumar

If my response helped please mark it correct and close the thread.

Thanks,
Rahul Kumar

This is probably our best shot to resolve our issue.

 

Thank you Rahul and Joe, for your considerations.