- 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-25-2022 03:56 AM
Hi,
you can create dictionary override on assignment_group field and restrict those groups only for incident table
Override ref qualifier - True
Ref Qualifier: javascript: 'nameNOT IN' + 'groupABC,groupDEF';
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-25-2022 10:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2022 07:56 PM
try this
name!=ML4 Managers^name!=ML5 Approver^name!=ELG Approvers
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 01:07 AM
Hi Ankur,
I did try and still no joy. i tried in the below formats
javascript: 'nameNOT IN' + 'name!=ML4 Managers^name!=ML5 Approver^name!=ELG Approvers';
javascript: 'name!=ML4 Managers^name!=ML5 Approver^name!=ELG Approvers';
Appreciate your time as always