Approval routing and decision rules
Every requestable resource has an approval flow: an ordered list of stages, each with one or more approvers and a policy that says how many of them must approve. When a request is processed, Owlie turns the flow into approval steps for that request, resolves each approver to a real person or group, and opens the stages one at a time.
You build the flow on the resource's Approval tab. The editing steps are in Resource approvals and fulfillment. This page explains what the flow does once a request is running.
Stages run in order, approvers run together
Stages are sequential. Stage 2 doesn't open, and its approvers aren't notified, until stage 1 passes. Inside a stage, every approver is asked at the same time.
For example, a flow with the beneficiary's manager in stage 1 and both a security group and the resource owner in stage 2 asks the manager first. Only after the manager approves do the security group and the owner get their tickets, together.
There is no branching between stages. To make a later step conditional, use a function approver, which can approve, reject or hand the decision to a person depending on the request.
Approver types
Each approver in a stage has one of six types.
| Type | Who decides | If it can't be resolved |
|---|---|---|
| Auto Approve | Nobody. Owlie approves the step immediately and creates no ticket. | Not applicable. |
| User | The named person. | The step errors if the person was removed. |
| Group | Any one member of the group. The ticket appears in every member's queue. | The step errors if the group no longer exists. |
| Manager | The beneficiary's manager, resolved when the stage opens. | The manager fallback applies. See below. |
| App Owner | The resource's owner, which can be a user or a group. | The step errors with "Resource owner not found". |
| Function | An approval function you wrote. It returns approve, reject, or assign to a person or group. | The step errors if the function isn't an approval function. |
An errored step puts the item in Approval Error and the request in Errored. The other approvers in the same stage still get their tickets. See Investigate a blocked or stalled request for recovery.
Manager approval and the fallback
Manager means the manager of the beneficiary, the person the access is for. It doesn't mean the requester's manager.
Owlie looks for the first usable manager up the reporting line. A manager who is disabled or terminated is passed over, so if Ingrid's manager has just left, the approval goes to that manager's manager. Nobody has to reassign it.
When the beneficiary has no manager, or nobody up the line is active, Owlie applies the Manager fallback setting from Access > Request Settings > Approvals:
| Fallback behavior | Result |
|---|---|
| The resource's owner | The owner of the resource being requested approves, whether a person or a group. The default. |
| Let the request error | The step errors with "Beneficiary's manager not found". |
| Reassign to a specific user | The chosen person receives the approval. |
| Reassign to a specific group | Any member of the chosen group can approve. |
For example, Ingrid has no manager in the directory and requests Salesforce, which the Sales Ops group owns. With the default fallback, the Sales Ops group gets the manager's approval.
The resource's owner can't stand in when the resource has no owner, or when the owner is the person the request is for: nobody approves their own access. The step then errors, as with Let the request error. If the fallback user or group has itself been removed, the step errors too.
Default approval for new resources
A new resource starts with the approval set under Default approval for new resources, on the same Access > Request Settings > Approvals page: one Manager stage unless you change it. Edit its stages as you would a resource's, then select Save approval settings. The change applies to resources created from then on. Resources that already exist keep their own approval.
On the request, a manager or owner step shows the role and the person it landed on, as "Beneficiary's manager" or "Resource owner" followed by "resolved to" and the name.
Function approvers
A function approver runs an approval function with the request, the resource, the requester, the beneficiary and their manager, and the submitted form. The function returns one of three decisions:
- Approve: the step is approved, with no ticket.
- Reject: the item is rejected.
- Assign: Owlie opens a ticket for the user or group the function names, or for the beneficiary's manager or the resource's owner. Manager and owner assignments use the same resolution and fallback as configured steps.
A function can assign to any active user or existing group in your organization, not only people named in the flow. An assigned person still can't approve a request they are the beneficiary of.
How decisions combine in a stage
The stage policy sets how many approvals the stage needs.
| Policy | Passes when | Fails when |
|---|---|---|
| All approvers | Every approver has approved. | Any approver rejects. |
| Any approver | One approver approves. | Every approver has rejected. |
| At least N of M | N approvers have approved (the quorum). | Depends on Allow rejections while approval is still possible. |
For At least N of M, the switch Allow rejections while approval is still possible decides how a rejection counts:
- On (the default): a rejection doesn't end the stage while the approvers who haven't decided could still reach the quorum. With a quorum of 2 of 3, one rejection is allowed. A second makes the quorum impossible and the stage fails.
- Off: the first rejection fails the stage, even if enough approvers remain.
Owlie re-evaluates the stage after every decision and resolves it as soon as the outcome is certain. It checks in this order:
- Enough approvals pass the stage.
- Otherwise, a rejection fails the stage if the stage fails on the first rejection.
- Otherwise, the stage fails if the remaining approvers can no longer reach the required number.
- Otherwise, the stage keeps waiting.
- Priya Raman
- Tomás Vidal
- Ingrid Solheim
Two details affect the count:
- One person, one vote. A person's approval counts once in a stage, even if they hold tickets through two groups or received one by reassignment. Two groups with the same single member can't satisfy an All approvers stage of those two groups. If the missing votes can't come from anyone else, the stage fails as quorum impossible.
- Automatic decisions count separately. Each Auto Approve step and each function approval is its own approval.
What happens to approvers who are no longer needed
When a stage resolves, Owlie cancels the tickets that are still pending in it and records the reason on each one:
| Ticket comment | The stage |
|---|---|
| "Approval quorum satisfied" | Passed without this approver. |
| "Approval stage rejected" | Failed on a rejection. |
| "Approval quorum impossible" | Failed because the remaining approvers couldn't reach the quorum. |
The canceled tickets leave the approvers' queues. Decisions already made stay in the request history. Owlie records each stage's result once in the request's Activity.
When a stage fails
A failed stage rejects the item. Later stages never open, no fulfillment starts, and the requester sees "Not approved" with the approver's reason, which is required for every rejection.
Rejection applies to the item, not the request. Other resources in the same request keep their own approvals. To ask again, the requester submits a new request.
Reassignment
An approver can hand their ticket to another person or group with Reassign, and an administrator can do the same from the request page. A reason is required. The original step stays in the history as reassigned, and a new step for the new assignee takes its place in the stage's count. The stage's due date doesn't restart.
Owlie also moves approvals on its own in two situations: when an overdue approval escalates up the manager chain, and when an approver leaves the organization. See Delegation, reminders, and escalation and Offboard an employee.
Reading stages on a request
The admin request page and the end-user request page describe the same steps in different words.
| What it is | Admin request page | End-user request page |
|---|---|---|
| Stage heading | Stage 1 | Step 1 |
| All approvers | All approvers, "1 of 2 approved" | Everyone must approve |
| Any approver | Any approver, "first of 3 decides" | Any one approver |
| At least N of M | 2 of 3 required, "1 of 2 approved" | 2 approvals needed |
| A stage not open yet | Queued | Up next |
| An open step | Pending approval | Waiting |
| A rejected step | Rejected | Not approved |
| A step with a problem | Errored | Problem |
An item with no approval steps shows Approval as Not required and moves directly to fulfillment.
Rules that apply to every flow
- The beneficiary can never approve their own access, whether they hold the ticket as a named user, a group member, a manager or an administrator. The requester can approve when they aren't the beneficiary.
- A delegate acting for an approver can't decide a request where the delegate is the requester or the beneficiary.
- Approval doesn't bypass policy. A blocking deny still parks the item after its last stage passes. See How a request reaches fulfillment.