Skip to main content

Leave Status Reference

Summary

Leave requests use four confirmed status strings.

Audience

Employees, managers, administrators, developers, QA, support, and product owners.

Reference Content

StatusMeaningConfirmed transitionsBalance/Attendance/Payroll relevanceUI
PendingAwaiting a decisionCreated → Pending; Pending → Approved, Rejected, or CancelledNo confirmed used-balance application; conflict validation may already have runWarning-style badge
ApprovedAccepted absencePending → ApprovedApplies confirmed usage; Attendance treats approved overlap as conflict; downstream Payroll relevance is eventualSuccess-style badge
RejectedDecision declinedPending → RejectedNo approved usage; downstream rejection can remove prior projected effect where applicableDanger-style badge
CancelledRequest withdrawnPending → Cancelled in confirmed service/domain pathConfirmed cancellation reverses usage only where an approved-cancellation path exists; current UI exposes Pending onlyDanger-style badge

The exact state machine differs across direct, compatibility, and current UI paths. Approved cancellation visibility and semantics must be checked against the detailed API/business pages before action.

Source References

  • microservices/src/leave-service/Domain/Leave/LeaveConstants.cs
  • microservices/src/leave-service/Domain/Leave/LeaveRequest.cs
  • microservices/src/leave-service/Application/LeaveWorkflows.cs
  • UI/salary-ui/apps/client-hrms-portal/src/ess/essApi.ts

See Also

Keywords

  • Leave reference
  • Leave Status Reference
  • Workforce management

Revision Information

  • Status: Draft
  • Last reviewed: 2026-07-15
  • Review cycle: Quarterly