Skip to main content

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 familyImportant behavior
Shift create/updateParses times, checks name uniqueness, delegates invariants to aggregate
Shift deactivateRejects when active assignments reference the shift
Weekly-off updateRequires supplied days, rejects duplicates, upserts only supplied values
Policy create/updateValidates thresholds and rules; manages the single default
Assignment createValidates employee and active shift, defaults start date, rejects overlap
Compatibility deleteDeactivates shift and its active assignments to preserve legacy behavior
Compatibility weekly-off updateReplaces 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.cs
  • microservices/src/attendance-service/Application/Compatibility/ShiftPolicyCompatService.cs

See Also

Keywords

  • Workforce scheduling
  • Shift policy
  • Attendance integration

Revision Information

  • Status: Draft
  • Last reviewed: 2026-07-20
  • Next review: 2026-10-20