Audience: an engineer joining the Requests area. Companion: technical.md (deep reference), surface-map.md.


The one thing to internalise first

Requests is one generic engine, not seven features. RequestService.cs (13,676 lines) implements every type (Leave, Loan, Advance, Document, Exit, Redeployment, Suspension) — often as parallel * and *_Ess variants with heavy duplication. The unifying pieces are: the EmployeeRequest entity, the approval-workflow chain, and ReviewEmployeeRequest (the ~1,900-line approve/decline method). Learn those three and the rest is variations.

Day-by-day ramp

Day 1 — Concepts. Read business.md + glossary.md. In the product: raise a request (Employee view), see it in an approval queue, look at Settings → Approval Workflows.

Day 2 — The engine. Read technical.md §1–7 — the service layer, EmployeeRequest model, statuses. Understand the workflow category → chain → hierarchy level routing.

Day 3 — Approval. Trace ReviewEmployeeRequest: how it walks the chain (WorkflowStepsCount vs ReviewStepsCount), and the downstream mutation per type on final approval (leave balance, redeployment, exit).

Day 4 — Config. Policies per type (configuration §2) and the approval-workflow chains (configuration §1). Note the config screen lives under Settings.

Day 5 — Edges. Holidays feeding leave maths; HRIS leave sync; the _Ess variants; runbook.md for on-call.


Where things live

You want… Go to
The engine Implementations/RequestService.cs (13,676)
Admin request flows Admin/Implementations/AdminRequestService.cs (3,657)
Employee raise Employee/Implementation/RequestsService.cs (707)
Approval routing ApprovalWorkflowService.cs, Admin/Approval_WorkflowsService.cs
Holidays HolidayService.cs, Admin/Paid_HolidaysService.cs
Enums Domain/Models/RequestModel.cs
HTTP Api/Controllers/{Admin,Employee}/RequestsController.cs (Admin/Requests = 81), Admin/Approval_WorkflowsController
Frontend web-app/src/pages/dashboard/people/requests/**, web-app/src/pages/approval/**

Traps