Skip to main content

Troubleshoot Leave Request Creation

Summary

Safe triage for Leave requests that cannot be submitted or created.

Audience

Employees or administrators affected by the scenario, first-line support, QA, service owners, and architects.

Symptoms

Submit is blocked, the request fails, or a newly submitted request does not appear.

Scope

ESS and legacy forms, request validation, application workflow, persistence, and refreshed listing.

Cause

The cause must be confirmed from current state and source-backed evidence.

Likely causes

  • Required employee/date context missing
  • Invalid date range, joining-date violation, zero calculated days, or overlap
  • Attendance dependency conflict/failure
  • Invalid type/profile or persistence failure

Safe diagnostic steps

  1. Record the sanitized field categories and client validation state, not the reason text.
  2. Confirm whether submission reached the API and capture safe response/correlation evidence.
  3. Check current request list before retrying to avoid duplicates.

Resolution

Correct source-backed input/context issues. If the result is ambiguous, stop retries and ask the Leave owner to confirm persisted state.

Safe resolution

Use only the resolution above and approved operational processes. Do not modify databases, replay messages, bypass authorization, or repeat ambiguous state-changing actions.

Validation

Confirm exactly one request with the expected non-sensitive date/status summary appears.

Evidence to collect

Collect the safe UTC window, route/operation category, response/status category, deployed version, affected scope count, and a correlation identifier. Exclude credentials, tokens, personal Leave details, employee identifiers, payloads, configuration values, and private topology.

Escalation

Leave owner; Attendance owner for conflict dependency; database/SRE for confirmed persistence failure.

Source References

  • UI/salary-ui/apps/client-hrms-portal/src/ess/EssPages.tsx
  • UI/salary-ui/apps/client-hrms-portal/src/pages/hr/PayrollFeaturePages.tsx
  • microservices/src/leave-service/Application/LeaveWorkflows.cs

See Also

Keywords

  • Leave troubleshooting
  • Troubleshoot Leave Request Creation
  • Safe diagnostics

Revision Information

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