Roles

lokeshlokesh
Tera Contributor

how specific role users can be available for specific reference field in servicenow?

3 REPLIES 3

Danish Bhairag2
Tera Sage
Tera Sage

Hi @lokeshlokesh ,

 

If u r referring to sys user table from your reference field then it must be difficult to apply filter to show users.

 

What i can suggest here is for ur reference field u can select sys_user_has_role table where roles & users are displayed . U can then apply filter as to which all roles users u want to display. for eg u want to display users with itil role & snc_internal role u can apply filter of Role is ITIL or Role is snc_internal.  This way only those users will be displayed who are having those roles.

 

Thanks,

Danish

Manikmodi16
Tera Guru

Hi,

 

You can modify the dictionary entry for the reference field to include a reference qualifier such that the field will only show the users for selection who have the specified role.

 

For example:

Manikmodi16_0-1708519936230.png

The above shows the reference qualifier for the Assigned To reference field on a table where the field only shows the users having ITIL role for available for selection.

 

Thanks,

Manik Modi

 

If you find this to be helpful, please mark this as the solution. Thanks!

RamseyBuckner
Mega Contributor

I want to ask something related to this. Can I ask here or start my own thread?