Status: Accepted (in force). Reconstructed.

Context

Different companies (and departments within them) need different people to approve different request types, in different orders. Hard-coding approvers is impossible across tenants.

Decision

Approval is data: an ordered chain of roles per workflow category (People Requests, Loans/Advance/Tax-Relief, Disciplinary, Leave→Time, Payroll, Payment Schedules), set at a hierarchy level (Company or Department) and inherited downward unless overridden. A request walks its chain; it's Approved only when the last step approves (WorkflowStepsCount vs ReviewStepsCount).

Consequences

Good: fully tenant/department-configurable without code; consistent routing across types; clear "who's next" status.

Bad / costs: a chain step whose role has no eligible holder stalls the request (runbook scenario); inheritance/override is subtle to reason about; routing correctness depends on config, not tests.

Alternatives

Related

configuration §1, runbook §1–2. Config screen lives in the Settings module.