- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2022 11:10 PM
Hi All
I try to update reference qualifier for reference variable (assignment group) , should show all groups if ITIL user.
for other users try to use the catalog only specific group only need to appear.
Kindly help me on this requirement.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2022 11:31 PM
Hi,
then do this in the advanced ref qualifier
Give the exact name of group
javascript: var query = ''; if(!gs.hasRole('itil')) query = 'name=Group ABC'; query;
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
‎07-26-2022 11:17 PM
Hi,
Sorry didn't get this part -> should show all groups if ITIL user
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
‎07-26-2022 11:24 PM
Hi Ankur,
If ITIL user login and try to search that reference field all groups has to appear.
if non itil user login and search that reference field only one group has to appear(tier 1 support group)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2022 11:31 PM
Hi,
then do this in the advanced ref qualifier
Give the exact name of group
javascript: var query = ''; if(!gs.hasRole('itil')) query = 'name=Group ABC'; query;
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader