Assignment group for logged in user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 12:55 PM
Hi,
I want to display only those groups in the 'Assignment group' field where the logged-in user is a member. I tried using the following script in the HR Template on HR Service, but it didn't work.
javascript:'sys_idIN' + new global.ArrayUtil().convertArray(gs.getUser().getMyGroups());
Does anyone have suggestions on how to display groups specific to the logged-in user in the 'Case Creation' section?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 03:04 PM - edited 08-28-2023 03:05 PM
what you mean by that sys_id needs to be assignment_group?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 03:43 PM
Sorry confusion at this end, please ignore 'sys_id needs to be assignment_group'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2023 11:24 AM
Hi @Tony Chatfield1
I found an article that says advanced reference qualifiers are not supported on the Case Creation page. Found a workaround for the Case Creation page. We can use sys_idINjavascript:gs.getUser().getMyGroups() directly in the reference qualifier.