Canonical documentation for the Requests subsystem — the umbrella engine that powers Leave, Loan, Salary Advance, Document, Exit, Redeployment and Suspension requests, each routed through a configurable approval-workflow chain.
Source of truth: the actual code (
RequestService.cs13,676 lines + ~21k lines of request services, entities, enums) and the live product.⚠️ VERIFYmarks unconfirmed product items.
Start with surface-map.md — the complete inventory.
| Doc | Audience | What it answers | Status |
|---|---|---|---|
| surface-map.md | Everyone | Complete module inventory + coverage | ✅ Done 2026-07-17 |
| business.md | PMs, QA, Support | What Requests is — types, lifecycle, approval rules | ✅ Verified 2026-07-17 |
| technical.md | Engineers | How it's built — the engine, ReviewEmployeeRequest, workflow chains |
✅ Verified 2026-07-17 |
| configuration.md | Admins, Implementation | Policy forms + approval-workflow chains field-by-field | ✅ Done 2026-07-17 |
| how-to.md | Admins, employees, approvers | Raise / approve / configure — frontend-driven | ✅ Done 2026-07-17 |
| user-journey.md | PMs, UX, Support | Requester / approver / admin journeys | ✅ Done 2026-07-17 |
| knowledge-base.md | End users | FAQ | ✅ Done 2026-07-17 |
| glossary.md | Everyone | Data dictionary — request types, statuses, workflow terms | ✅ Done 2026-07-17 |
| api-reference.md | FE + integration engineers | The Requests endpoint surface | ✅ Done 2026-07-17 |
| runbook.md | On-call / Ops | Stuck approvals, mis-routed chains | ✅ Done 2026-07-17 |
| onboarding.md | New engineers | Ramp into RequestService |
✅ Done 2026-07-17 |
| rfds/ | Engineers | Design decisions (one generic engine, role-chain workflows) | ✅ Done 2026-07-17 |
Corrected ❌→✅
| Location | Was | Now |
|---|---|---|
| business.md • technical.md (×4) | RequestService … 13,570 lines |
13,676 |
| business.md • technical.md (×2) | AdminRequestService … 4,734 lines |
3,657 |
| technical.md diagram | Employee/RequestsService … 1,008 lines |
707 |
| technical.md §key-observation | PersonService (17,812) |
16,942 |
Confirmed accurate ✅: the 7 request types + int IDs (EmployeeRequestTypeParams), statuses New/Approved/Declined (EmployeeRequestStatuParams), the workflow-category model, Admin/Requests 81 endpoints, and the role-chain approval engine (verified live).
Verdict: substantially accurate; only stale line counts, now fixed.
Generic requests & approval workflows — surface map
Requests & approval workflows — business documentation
Requests & approval workflows — technical documentation
Requests — glossary & data dictionary