Sick days in period
Fires when an employee’s sick days inside a window add up to a set number.
This is the pattern no single absence ever reveals: repeated short absences. Someone off sick eight separate days over a year never triggers a long-absence alert, but the total is worth a conversation.
When to use
Use it for absence follow-up policies of the “more than N sick days in twelve months” kind, and for yearly absence budgets. Send it to the manager or to HR — not usually to the employee, who is rarely the one who acts on it.
For a single long absence, use Consecutive sick days instead.
Parameters
| Parameter | Description | Default |
|---|---|---|
| Days | Sick days inside the window that trigger the advisory. | 5 |
| Window | Rolling window keeps watching a moving period that ends today. Calendar year counts from 1 January. | Rolling window |
| Window length | How many days a rolling window looks back over. Only shown for a rolling window. | 365 |
| Partial days | Whether a half day of sickness counts as a whole day or as a half. | Count as full days |
How it works
Every night mTime counts each employee’s sick days inside the window, which always ends on the day of the check — sickness booked in the future is not counted.
The advisory is sent when the count reaches the threshold, and it is sent once per sick period. A sick period is a continuous sick leave: weekends, public holidays and other days the employee is not scheduled to work do not interrupt it, but a working day without sickness ends it — whether the employee is back at work or the day is a vacation day.
- An employee who stays on sick leave for months gets one email, even if old sick days falling out of the window make the count dip and climb back along the way.
- An employee who is back at work and then falls sick again while the count is still at or above the threshold gets a new email for the new sick period.
- An employee whose count has dropped below the threshold gets a new email when a later sick day brings it back up.
If the nightly check could not run on the day the count was reached, it still sends for up to three days afterwards.
A calendar-year window behaves the same way. Its count restarts on 1 January, but a sick leave that runs across New Year is still one sick period and does not get a new email.
Message
The trigger’s standard message reads:
{employee_name} has {days} sick days in the current period
{employee_name} has {days} sick days between {window_start} and {window_end}, reaching the threshold of {threshold}.
The employee it is about receives their own copy, addressed to them:
You have {days} sick days in the current period
Between {window_start} and {window_end} you have {days} sick days, reaching the threshold of {threshold}.
Available variables: {employee_name}, {workspace_name}, {date}, {days} (the count), {threshold}, {window_start} and {window_end}.
Examples
More than five sick days in twelve months
- Add an advisory and select the Sick days in period trigger
- Set Days to 5, leave Window on Rolling window and Window length at 365
- Turn on Manager as the recipient
A yearly absence budget
- Set Window to Calendar year
- Set Days to the budget
The count restarts on 1 January, so each year gets its own message once a sick period reaches the budget.