In service catalog, how to get only active users for selectbox type

Sachin G K1
Kilo Sage

Hi,

I have a Service Catalog item, for a field I have to select selectbox type, and the choice table is sys_user table. But I want to get only the active users in the list, how can I do that?

Regards,

Sachin

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

Should happen OOB since there is already a Query business rule on User table to show only active users

Is that not happening?

you can use advanced ref qualifier in that variable

javascript:'active=true';

Regards
Ankur

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

View solution in original post

5 REPLIES 5

Hi,

why select box?

If there are lakhs of users then will the end user scroll for so many choices

Inform the customer that this is not a valid requirement and you need to use Reference or Lookup select box

Not all requirements are meant to be implemented as it is.

Regards
Ankur

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