Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

FIlter out certain user accounts (they have the hidden field ticked) on a lookup select box to the sys_user table

suzipearson
Tera Contributor

Hi

Out sys_user table is populated from AD , however there are a lot of system accounts.

I want to hide these as I am creating a lookup select box available on the service catalogue for managers to select a user and automatically have their accounts in AD extended (this I can do in orchestration and powershell).

The problem I am having is that even though I put a tick next to hidden (a field on the user form) the system accounts are still showing. It used to work - any suggestion how I can filter these out?

have shown a demo with test user I have marked as hidden but they still show in the lookup listfind_real_file.pngfind_real_file.png

 

thanks

Suzi

1 ACCEPTED SOLUTION

To get help making a reference qualifier for this, you could go to the sys_user table, filter as required, right-click on filter and choose "copy query". Then paste in the reference qualifier field. 

View solution in original post

6 REPLIES 6

VigneshMC
Mega Sage

Right click over the variable name, and click on configure variable.

find_real_file.png

And then go to Reference qual condition under type specification and add your filter

find_real_file.png

suzipearson
Tera Contributor

Hi Vignesh

thanks for replying

If I do that I only get this view. I tried configuring form layout - to add ref qual condition but they were already there. so I assume its something specific to a lookup select box

find_real_file.png

add in reference qual box like 

 

u_hidden=false

To get help making a reference qualifier for this, you could go to the sys_user table, filter as required, right-click on filter and choose "copy query". Then paste in the reference qualifier field.