how can we make visible the list of only all managers of group table in a reference field ?

chandan29
Kilo Contributor

I have added a user reference field in a customized table form. I want that, if I search, the list should be of those users, who are group managers of any group in the group table.

what kind of reference qualifier I should use. Can any one please suggest !

2 REPLIES 2

Jan Cernocky
Tera Guru

Hi chandan,

you would need to write a script include that returns you sysIDs of such users.

There's a nice video elaborating on this topic https://www.youtube.com/watch?v=I7ZNPyrWCuU

Anurag Tripathi
Mega Patron

Hi,

Use the below thread to see how script include can be called form reference qualifier

Filter User Field to Show Manager, Manager's Manager - Developer Community - Question - ServiceNow C...

You will need to use a different script include to return the managers form group tables but on the same principle. Build the script and post here if it doesn't work.

-Anurag

-Anurag