Commands
Audience
Developers, QA engineers, support engineers, security engineers, solution architects, and implementation partners.
Reference Content
This page records source-verified technical behavior and boundaries for the workforce-scheduling capability.
Summary
Verified direct commands create, update, activate-state change or deactivate shifts; update weekly-off rules; create and update attendance policies; and create employee shift assignments.
| Command family | Important behavior |
|---|---|
| Shift create/update | Parses times, checks name uniqueness, delegates invariants to aggregate |
| Shift deactivate | Rejects when active assignments reference the shift |
| Weekly-off update | Requires supplied days, rejects duplicates, upserts only supplied values |
| Policy create/update | Validates thresholds and rules; manages the single default |
| Assignment create | Validates employee and active shift, defaults start date, rejects overlap |
| Compatibility delete | Deactivates shift and its active assignments to preserve legacy behavior |
| Compatibility weekly-off update | Replaces the complete active day set |
Side effects
Successful configuration changes write audit and timeline evidence. No shift-policy integration event is explicitly emitted. Multi-save operations mean partial success is theoretically possible if a later save fails.
Missing commands
No exposed assignment update, end, deactivate, reactivate, swap, bulk assign, rotation, roster publication, or schedule copy command was verified.
Source References
microservices/src/attendance-service/Application/Services/ShiftPolicyCommands.csmicroservices/src/attendance-service/Application/Compatibility/ShiftPolicyCompatService.cs
Related Articles
See Also
Keywords
- Workforce scheduling
- Shift policy
- Attendance integration
Revision Information
- Status: Draft
- Last reviewed: 2026-07-20
- Next review: 2026-10-20