- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2023 11:59 PM
Hello all,
I have a case where If we select a particular group it is getting assigned automatically to the groups manager in assinged_to section but the Manager is not Active. We want to add that group to assignment group but we dont want Inactive manager to auto assign to that assigned_to field. How to achieve this?
TIA 🙂
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2023 01:39 AM
Hello @radt
You dont need to do it manually.
You can automate this using a business rule or a scheduled job.
- You can navigate to the sys_user table, and add the column Manager. This will show you all the user who have the manager set as the inactive user.
- You can navigate to the sys_user_group table, and add the column Manager. This will show you all the groups that have the manager set as the inactive user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2023 12:05 AM
Can you please check any server side script(glideAjax) which performing the action which autopopulate assigned_to field in that script you can make changes .
Regards,
Ranjit Nimbalkar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2023 12:13 AM
Hello @radt
This is not a standard OOB behavior where setting an assignment group automatically set the assigned to the group's manager.
Can you chekc and confirm if there are no customizations done on the instance.
You need to check if there are any custom business rule or client script running on the assigned to field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2023 12:31 AM
I see there are two matching rules where conditions are :
HRIT operation which is the same table for the case I am testing and conditions as :
Assignment group is not empty &
assigned to is empty
script:
(function getPotentialAssignees(current) {
return new sn_hr_core.hr_AssignmentAPI().getAgentsBySkillOrderLeastLoaded(current);
})(current);
The above code is for one matching rule and the below code is for other matching rule but table and conditions are same for both matching rules.
(function getPotentialAssignees(current) {
return new sn_hr_core.hr_AssignmentAPI().getAgentsByCountryAndSkillsOrderLeastLoaded(current);
})(current);
Is this the one we are looking for?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2023 12:37 AM
Hello @radt
If this is a sub production instance, and considering it does not have real active assignments, it would recommend you to disable this business rules.
Are these custom created?