- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2022 12:34 AM
HI All,
How to configure reference qualifier of Assigned to field in HR Bulk case creation template?
Assigned to field value should show based on "Assignment group" selection
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2022 01:03 AM
Hi,
Unfortunately my instance is not on ROME so I cannot see that page
it shows this to me in Quebec
It's calling internally this UI page -> hr_generate_mass_cases
So you would have to modify and play with that
I would recommend avoiding that as it's OOB UI page
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
03-09-2022 12:40 AM
Hi,
Create script include with name: refqualassignedto
Script:
function refqualassignedto() {
var group = current.variables.assign_grp; // your assignment group variable name
var user_array = [];
if (group != '') {
var getMembers = new GlideRecord('sys_user_grmember');
getMembers.addQuery('group', group);
getMembers.query();
while (getMembers.next()) {
user_array.push(getMembers.getValue('user'));
}
return 'sys_idIN' + user_array.toString();
} else {
return 'active=true';
}
}
Set type specifications on assigned_to field:
Use Reference qualifier: advanced
Reference qual: javascript: refqualassignedto();
Hope this helps.
Please mark my answer as Correct/Helpful based on impact
Regards,
Dan H
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2022 12:47 AM
Can you guide me HR bulk template cases

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2022 12:51 AM
Hi sukran,
I've updated the script/post, hope that helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2022 12:54 AM
Hi,
the link which you shared is for form/catalog variable which won't work here
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader