Shift Management
Define work shifts, create scheduling patterns, and manage night shifts, rotating schedules, and temporary overrides.
Saved Shifts (Shift Templates)
The Saved Shifts page is your library of all defined shift templates. Each shift defines a start time, end time, and optional settings like grace period and night shift mode. You create shifts once and then assign them to employees.
| Column | Description |
|---|---|
| Shift Name | A descriptive name identifying the shift (e.g. Morning Shift, Night Shift). |
| Start Time | The time the shift begins. |
| End Time | The time the shift ends. |
| Night Shift | Whether this shift crosses midnight (start PM, end AM next day). |
| Grace Period | Minutes of tolerance before an employee is marked as late. |
| Employees | Number of employees currently assigned to this shift. |
| Actions | Edit or delete the shift template. |
| Shift Name | Start Time | End Time | Type |
|---|---|---|---|
| Morning Shift | 08:00 | 16:00 | Regular |
| Evening Shift | 14:00 | 22:00 | Regular |
| Night Shift | 22:00 | 06:00 | Overnight |
Create a Shift
Click to create a new shift template. Fill in the following fields:
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
| Shift Name | Text | ✅ | A unique, descriptive name for this shift. | Morning Shift |
| Start Time | Time | ✅ | The time the shift begins. Employees checking in before this time are marked as early. | 09:00 |
| End Time | Time | ✅ | The time the shift ends. Used for overtime and auto-checkout calculations. | 17:00 |
| Night Shift | Toggle | ❌ | Enable this if the shift crosses midnight (e.g. 22:00 to 06:00). The system will correctly associate the checkout with the next calendar day. | Off (for day shifts) |
| Next-Day Checkout | Toggle | ❌ | When enabled, the system expects checkout to occur on the following calendar day. Automatically enabled for night shifts. | Auto for night shifts |
| Grace Period (minutes) | Number | ❌ | Number of minutes after the shift start time during which the employee will still be counted as "on time". After this period, they are marked late. | 15 |
Assign Shifts to Employees
After creating shifts, you need to assign them to employees. You can assign shifts individually from the employee profile, or in bulk from the shift management page.
Select employees
Use the checkboxes in the employee list to select one or more employees, or filter by branch/department to find the employees you want.
Choose the shift
Select the shift template you want to assign from the dropdown menu.
Apply assignment
Click "Assign" to apply the shift to all selected employees. The change takes effect immediately.
Multi-Shift System
AttendUX supports assigning multiple shifts to a single employee. This is useful for employees who work varying hours or need flexibility in when they check in. When an employee has multiple shifts, the system intelligently determines which shift to use at check-in time.
How multiple shifts work:
- Assign 2 or more shifts to an employee via their profile or bulk assignment.
- When the employee checks in, the system compares the current time against all assigned shifts and selects the closest matching shift.
- Alternatively, in the mobile app, the employee can manually select which shift they are checking in for if multiple shifts are available.
Nurse Sara is assigned both the Morning Shift (7:00–15:00) and Evening Shift (15:00–23:00). When she checks in at 6:55 AM, the system automatically matches her to the Morning Shift. When she checks in at 2:50 PM, it matches the Evening Shift.
Night Shift / Cross-Midnight
Night shifts that cross midnight (e.g. 22:00 to 06:00) require special handling because the check-in and checkout happen on different calendar days. AttendUX handles this automatically when you configure a shift correctly.
Setting Up a Night Shift
Set start time (PM)
Enter the evening start time, e.g. 22:00 (10:00 PM).
Set end time (AM next day)
Enter the morning end time, e.g. 06:00 (6:00 AM). The system understands this is the next day.
Enable Night Shift toggle
Turn on the "Night Shift" toggle. This tells the system that checkout should be expected on the next calendar day, and attendance is recorded for the check-in date.
Night Shift from 10 PM to 6 AM
Omar works the Night Shift (22:00–06:00). He checks in at 21:55 on January 15th. The system records his attendance for January 15th. He checks out at 06:05 on January 16th. The system correctly associates the checkout with his January 15th shift, calculates 8 hours and 10 minutes of work, and detects no lateness (he arrived 5 minutes early). The automatic checkout, if configured, would trigger at 06:00 on January 16th.
Smart Scheduling System
AttendUX provides three scheduling modes that work together with a clear priority system. You can combine them for maximum flexibility.
Weekly Schedule
Assign a different shift to each day of the week. Ideal for employees with consistent but varied daily schedules.
| Day | Assigned Shift |
|---|---|
| Saturday | Night Shift (22:00–06:00) |
| Sunday | Morning Shift (9:00–17:00) |
| Monday | Morning Shift (9:00–17:00) |
| Tuesday | Morning Shift (9:00–17:00) |
| Wednesday | Morning Shift (9:00–17:00) |
| Thursday | Morning Shift (9:00–17:00) |
| Friday | — (Day Off) |
Rotating Schedule
Define a repeating pattern of shifts that cycles automatically. Perfect for 24/7 operations.
Define the pattern
Create a rotation pattern by specifying shifts in order, including rest days. Example: Morning, Morning, Night, Night, Off, Off.
Set the start date
Choose the date the rotation begins. The system cycles the pattern endlessly from this date.
Assign to employees
Assign the rotation to employees. You can offset different employees by different start dates to ensure full coverage.
Temporary Shifts
Override any employee's regular or rotating schedule for specific dates.
Temporary shifts take the highest priority. When a temporary shift is set for a date, it completely overrides the weekly and rotating schedule for that employee on that date. Once the temporary date passes, the employee automatically returns to their regular schedule.
Schedule Priority
When multiple scheduling types are configured, the system uses this priority order to determine the active shift:
| Priority | Type | Description |
|---|---|---|
| 1 (Highest) | Temporary Shifts | Overrides everything for the specified dates. |
| 2 | Rotating Schedule | Active pattern based on start date and cycle. |
| 3 | Weekly Schedule | Per-day assignment for the week. |
| 4 (Lowest) | Default Shift | The shift(s) directly assigned to the employee profile. |
Example: Factory with 3 Rotating Shifts
Scenario: Setting up a manufacturing plant with continuous operations
ABC Manufacturing runs 24/7 with three 8-hour shifts. Each worker rotates through all three shifts on a 6-day cycle with 2 rest days.
| Shift | Start Time | End Time | Night Shift |
|---|---|---|---|
| Morning Shift | 06:00 | 14:00 | ❌ |
| Afternoon Shift | 14:00 | 22:00 | ❌ |
| Night Shift | 22:00 | 06:00 | ✅ |
The rotation pattern is: Morning, Morning, Afternoon, Afternoon, Night, Night, Off, Off. Team A starts on Day 1, Team B starts on Day 3, and Team C starts on Day 5 — ensuring every shift has full coverage at all times.
Example: Night Shift Checkout
Scenario: How checkout works for a 10 PM to 6 AM shift
Guard Khaled has the Night Shift (22:00–06:00) with Night Shift toggle enabled. He checks in at 21:50 on March 10th. At 06:00 on March 11th, the automatic checkout triggers. His attendance record shows: Date = March 10th, Check-in = 21:50, Checkout = 06:00, Total Hours = 8h 10m, Status = Present (arrived before shift start). If Khaled forgets to check out, the system's single-punch detection flags it for admin review, and auto-checkout assigns the shift end time.