# Set attendance rules for late and missed shifts

How Substy decides whether a team member was on time, late, missed a shift or left early, and how to change the two attendance rules.

URL: https://help.substy.ai/en/articles/set-attendance-rules-late-and-missed-shifts
Language: en

Nobody starts a shift by hand. Substy judges each team member's shift from the time they are active in Substy during the shift's hours. Two rules, set once for the whole agency, decide when a member is late and when they left early.

## How Substy knows a member is working

A member counts as working while all of these are true:

- the **Messages** inbox is open in their browser,
- the tab is visible (not in the background),
- they have moved the mouse, typed or clicked in the last minute or so.

When this stops, their work time stops too. After 5 minutes without activity, their work session closes. Only the time inside the shift's start and end counts for that shift. Time outside any shift is simply unscheduled work.

## What each status means

| Status | When it shows |
|---|---|
| **Planned** | The shift has not started yet. |
| **In progress** | The shift has started, the member has not shown up, and the grace period (**Late after**) is not over yet. |
| **On shift** | The member showed up in time and the shift is still running. |
| **Late** with minutes (for example **Late 12m**) | The member first showed up later than the **Late after** time. The minutes count from the planned start. |
| **Missed** | The grace period is over and the member has not been active at all during the shift. |
| **Left early** | Decided at the end only: the member worked less than the **Left early under** share of the shift. This replaces **Late** when both apply. |
| **On time** | The shift is over, the member showed up in time and worked enough. |
| **Not judged** | The shift is over but has no attendance verdict. |

A shift becomes final 5 minutes after its end, so a member who just stopped working is not mistaken for one still working. Until then, a status can still change: a member marked **Missed** who arrives later becomes **Late**.

Shifts given to the AI are never judged. Open shifts (with nobody assigned) and draft shifts are not judged either.

## Change the attendance rules

Shifts and attendance need the Pro or Elite plan on at least one creator you can see. You need the **Manage schedules** permission to change the rules. With **View schedules** only, you can open the rules and read them; the dialog shows "Your role can see these rules, not change them."

1. In the sidebar, open **Team** > **Shifts**.
2. In the toolbar, select **Attendance rules**.
3. Under **For every shift**, set:
   - **Late after**: how long after the start a member can show up and still be on time. Choose **At once**, **5 minutes**, **10 minutes**, **15 minutes** or **30 minutes**. The default is 5 minutes.
   - **Left early under**: the share of the shift a member must work. Choose from **50% of the shift** to **100% of the shift**. The default is 80%.
4. Select **Save**. Substy shows "Attendance rules saved."

The rules apply to every shift of the agency, for every creator and member. Shifts already judged as final keep their status.

## Example

With the defaults (**Late after** 5 minutes, **Left early under** 80%), a shift from 10:00 to 18:00 lasts 8 hours:

| What the member did | Status |
|---|---|
| Active from 10:03 to 18:00 | **On time** |
| Active from 10:20 to 18:00 | **Late 20m** |
| Active from 10:00 to 15:00 (5 hours, under 6 h 24 min) | **Left early** |
| Never active between 10:00 and 18:00 | **Missed** |

## Who is alerted

When a member is judged **Late** or **Missed**, Substy sends an alert to the team members who have **Manage schedules** on the shift's creator. A shift with several creators sends one alert per creator. Alerts go to each person's own notification channels, never to a shared Telegram group or Discord channel.

To see past verdicts, use **Shift history**, as described in [Review shift history and performance](https://help.substy.ai/en/articles/review-shift-history-and-performance).
