Restrict certain groups from assignment group field

V_31
Tera Expert

Hi All,

I am trying to restrict certain groups from assignment group field. They should not be selected from incident table.

The only thing im not sure about is how to put the If condition as i know it can be done on role or assignment group but i just want it not selectable for anyone.

Your guidance is much appreciated

1 ACCEPTED SOLUTION

Hi,

it should work fine with either of this

javascript: 'name!=ML4 Managers^name!=ML5 Approver^name!=ELG Approvers';

OR

name!=ML4 Managers^name!=ML5 Approver^name!=ELG Approvers

Did you try to logout and login again?

Regards
Ankur

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

View solution in original post

9 REPLIES 9

Hi,

it should work fine with either of this

javascript: 'name!=ML4 Managers^name!=ML5 Approver^name!=ELG Approvers';

OR

name!=ML4 Managers^name!=ML5 Approver^name!=ELG Approvers

Did you try to logout and login again?

Regards
Ankur

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

Hi Ankur,

I worked with the below.

javascript: 'name!=ML4 Managers^name!=ML5 Approver^name!=ELG Approvers';

Thanks for your help

Hello Ankur,

is it possible to guide me on this in a bit detailed way please.Kindly find my question here below;

https://www.servicenow.com/community/developer-forum/restrict-everyone-from-accessing-certain-assign...

 

Adrian Ubeda
Mega Sage
Mega Sage

Hi V,

If you wat to show a certain groups, use the override dictionary entry for incident table and add into reference qualifier field the groups that must be shown. If this groups can't be selected by anyon this should work, however if you need to control who can select this groups or not, then you should consider do it using roles.

In this case, you'll need to customize the reference qualifier as well but it will be a bit more complex.

If it was helpful, please give positive feedback.
Thanks,

If it was helpful, please give positive feedback! ✔
☆ Community Rising Star 22, 23 & 24 ☆

Sagar Pagar
Tera Patron

Hi,

 

You have to applied the reference qualifier for your field. It will restricts the assignment group based on your condition in reference field.

 

Refer old thread.

Reference qualifier to limit assignment groups field

 

Thanks!

Sagar Pagar

The world works with ServiceNow