Assignment and matching rules in HR
Summarize
Summary of Assignment and Matching Rules in HR
The automatic case assignment feature in ServiceNow HR allows for efficient assignment of HR cases to agents based on specific criteria, including agent workload, required skills, and location of the person involved in the case. The Auto Assign business rule activates the matching rule logic to identify the most suitable agent for each case.
Show less
Key Features
- Auto Assignment: Automatically assigns HR cases to agents with the least workload and necessary skills.
- Matching Rules: Utilizes the Resource Matching Engine to determine eligible agents based on defined conditions.
- Assignment Script Includes: Helps reduce upgrade issues and allows customization through hrAssignmentAPI and hrAssignmentUtil.
- Skill Requirements: Ensures agents have the necessary skills for case assignments, with the ability to manage multiple HR departments and locations.
- Testing Rules: New assignment rules can be tested to ensure proper functionality.
Key Outcomes
By implementing these rules, ServiceNow customers can effectively manage HR case assignments, ensuring that cases are handled by the most qualified agents in a timely manner. Customers can also customize assignment rules and verify their effectiveness through testing, enhancing overall HR service delivery.
The base system uses the automatic case assignment feature to assign an HR case to an agent. It attempts to assign an agent with the least number of cases assigned, has the skills required by the case, and matches the location of the subject person.
Auto Assign business rule
HR Case has a business rule called Auto Assign that invokes matching rule logic.
Matching Rules
HR assignment rules use the Resource Matching Engine [com.snc.matching_rule] plugin that is activated with the Human Resources Scoped App: Core [com.sn_hr_core] plugin. You can specify a table and a condition. The base system defaults to Assignment group is empty and Assigned to is not empty.
- Agents by skills and country
- Agents by skills
- If this matching rule does not find eligible agents, then the condition of the lower priority rule is still true and attempts to match by skills alone.
- If the higher priority rule finds an agent, the assigned to field is no longer empty and the secondary rule does not match.
- Either the getAgentsByCountryAndSkillsOrderLeastLoaded or getAgentsBySkillOrderLeastLoaded in the hr_AssignmentAPI script include are called.
Assignment script includes
The hr_AssignmentAPI passes the call through to the hr_AssignmentUtil script include to reduce upgrade issues. Rather than update hr_AssignmentUtil, you can add to hr_AssignmentAPI or another customer script include.
- These scripts also look at the agents in the assignment group.
- They then look for agents that have the required skills for the case and are in the same country as the subject person.
- The list of agents that are returned are sorted according to case assignment load defined as active cases of type HR case (or extension) or active HR tasks.
- The list of possible agents for an HR task is generated like an HR case.
- But, after ordering the list, the task is checked for a parent HR case and if the agent assigned is on the list.
- If it is, the agent is placed at the top of the list ignoring case load.
Required skills
If you have more than one HR department, you can remove the HR group assignment from the HR template and use assignment rules to assign the HR group. For example, if you have HR departments in both the U.S. and German offices, you can create an HR group for each office. You set up assignment rules to assign the HR group based on the location of the employee who submitted the HR case.
- : Look at the template that corresponds to the assignment rule to see what skills, if any, are required.
- : Find the HR user assigned to the case and click the Skills: # button to see whether the required skill is assigned. If not, check the box to assign it, and click Save.
Refer to Create rules to route and assign customer service cases for more information on matching and assignment rules.