HR case behaviour
How an HR case moves through its statuses, asks for approval, restricts who can see it and closes, and what Servicely sets on it automatically.
An HR case is the record an HR team works an employee’s request or issue in, with its own workflow, approvals and confidentiality controls. This page explains how a case behaves so that the administrator of the HR application can configure it and answer agents’ questions.
Workflow and statuses
The “HR Case - Standard workflow” takes a case from New through Work in progress to Completed, and Closed. Cases can wait on the requester, an external party or an approval on the way. HR case tasks follow the “HR Case task - Standard workflow”.
| Status | Meaning |
|---|---|
| New | The case has been raised and nobody has started it. |
| Awaiting manager approval | Used by the sample approval workflows. The user’s manager must approve. The step is skipped when there is no manager. |
| Work in progress | An agent is working the case. |
| Awaiting department manager approval | Used by the multi-level sample workflow. The department’s manager must approve. The step is skipped when there is none. |
| Awaiting client action | The agent is waiting for the requested-for user. A reply from that user moves the case back to Work in progress. |
| Awaiting external party | The agent is waiting for someone outside the case. |
| Awaiting approval | The agent asked the people in Approver to approve. |
| Completed | The work is done. Completed at and Completed by are set. The case can go back to Work in progress. |
| Cancelled | The case was withdrawn or an approval was rejected. |
| Closed | The case is final and can no longer be updated. |
| Status | Meaning |
|---|---|
| New | The task has been created from its case. |
| Work in progress | An agent is working the task. |
| Awaiting external party | The agent is waiting for someone outside the task. |
| Closed | The task is done and can no longer be updated. |
| Cancelled | The task is no longer needed and can no longer be updated. |
Agents cancel a case with Cancel case. Requesters see Cancel case and My case has been completed on their own cases. The properties hr.case.agent.cancel_button.enabled, hr.case.self_service.cancel_button.enabled and hr.case.self_service.resolve_button.enabled turn these buttons on or off. All three ship as true. Only holders of hr_agent, hr_manager or hr_administrator can run the other workflow transitions.
Approvals
An agent can ask one or more people to approve a case. They add the people to the Approver field on the Approvals tab, then select Request approval while the case is in Work in progress. Everyone in the list is asked, and one approval is enough. After the approval or rejection, the case returns to Work in progress. The Approvals related list shows who responded.
Two sample workflows ship for catalog items that create HR cases:
| Workflow | What it does |
|---|---|
| HR Case - Basic catalog approval | Asks the user’s manager to approve, and nothing else. A rejection cancels the case. |
| HR Case - Multi-level approval example | Asks the manager, then the department’s manager, then moves the case to Work in progress. A rejection at either step cancels the case. |
Restricted visibility
HR cases and HR case tasks have Restricted visibility group and Restricted visibility user fields. When either is filled, only the listed users and the members of the listed groups can see the record. The requestor and the requested-for user still see the case. Holders of hr_administrator see every case and task.
Restricted users can include people without hr_agent. This lets an employee see a case they would otherwise not, for example during onboarding or termination. HR Roles lists the full visibility rules.
Automatic values
- When Requested for is empty, it is copied from Requestor.
- When Requested for changes, Location, Phone and Email are refilled from that user. Any edit to them is lost.
- A requestor or requested-for user flagged VIP has a purple border on the field.
- When a case returns to Work in progress, the closure fields are cleared. When it is completed or closed, the completion and closure fields are set if they are empty.
Knowledge articles from a case
Create knowledge on the case form creates a standard knowledge article from the case. It uses these reclassification field maps.
| HR case field | Knowledge field |
|---|---|
| Short description | Summary |
| Short description | Title |
| ID | Source record |
| None | Knowledge source, set to HR case |
| Description | Content |
| Resulting knowledge | ID |
Auto-closure
A completed case can close itself after a number of elapsed days. The “HR Case - Autoclosure for completed requests” job does this every day, and it ships inactive. Activate the job to use it. Two properties control it.
| Property | Default | What it does |
|---|---|---|
hr_case.auto_closure.enabled |
true |
Turns auto-closure on or off. |
hr_case.auto_closure.days |
5 |
The elapsed days a case stays Completed before it closes. |