- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2022 03:48 AM
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
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2022 02:43 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2022 02:43 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-26-2022 04:41 AM
Hi Ankur,
I worked with the below.
javascript: 'name!=ML4 Managers^name!=ML5 Approver^name!=ELG Approvers';
Thanks for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2023 05:36 AM
Hello Ankur,
is it possible to guide me on this in a bit detailed way please.Kindly find my question here below;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2022 03:56 AM
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,
☆ Community Rising Star 22, 23 & 24 ☆
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2022 03:58 AM
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