Approval by the manager
A route several requests share (fictional rules): the requester's manager approves, and the head of the department too when the request says it is long
File: shared/manager_approval.ringi (the shared route manager_approval, version 1, sha256:2f5a89113095fbf9).
The organization is read in each of its versions: from 2026-04-01 and 2027-04-01.
When it can be used
- From 2026-04-01: the first version of the organization
company.ringi(data../org). - With no end: nothing it reads ends.
What it takes
A request that takes the route gives it each of these, as a condition on its own form (route manager_approval(long: days > 5)):
| Input | Type |
|---|---|
long | yes or no |
Route
The stages, in order. A stage with a condition comes only where it holds; who answers each stage is said under “How the approvers are chosen”.
| Stage | Who answers | When it comes |
|---|---|---|
| manager | manager | always |
| head | dept_head | when “long” is yes |
How the approvers are chosen
| Approver | Who it is |
|---|---|
| manager | the requester's manager: the head of the team the requester is mainly in, or of the team above where that head is the requester or there is none |
| dept_head | the head of the first team of the kind Department (department) above the requester |
Each approver is chosen when the stage starts, in the version of the organization in effect then. A proxy in effect that day answers beside them.
Deadlines and reminders
Every stage:
- It is due 2 business days after it starts, at the end of the day.
- Its approvers are reminded 1 business day after it starts, at 09:00.
- When it is late, it goes up to the head above, and its deadline is counted again from then; when it is late again, the ticket expires.
- When nobody can answer it, it goes up to the head above; at the top of the organization, the stage is skipped.
For a stage that starts on 2026-04-03 (Fri), the days the request's calendar closes skipped (times in UTC+09:00):
| Stage | Reminder | Due | Due after going up |
|---|---|---|---|
| manager | 2026-04-06 (Mon) 09:00 | 2026-04-07 (Tue), at the end of the day | 2026-04-10 (Fri), at the end of the day |
| head | 2026-04-06 (Mon) 09:00 | 2026-04-07 (Tue), at the end of the day | 2026-04-10 (Fri), at the end of the day |
Its stages take 10 business days at the most, one after another. A request that takes the route adds the times it can be sent back and the requester's turns to submit it again; its page counts them.
The requests that take it
The requests of the project that take the route, on their route line: a change of the route changes their tickets. Each request's page shows the route with what it gives it.
| Request | File |
|---|---|
Leave request (leave_ja) | leave.ja.ringi |
Leave request (leave) | leave.ringi |