What you can do
- Route by requester attributes. Build ordered logic using the requester’s attributes, such as Team, Title, Status, Manager, Groups, Start Date, and custom attributes like Department or Location.
- Create multi‑stage chains. Add as many sequential stages as you need.
- Use “Manager” anywhere. Insert Manager approval at any stage.
- See why a branch matched. Workflow records show the evaluation order, the branch that ran, and the match reason for audit.
Routing by app or permission
Branch conditions check the requester only. They don’t check which app or permission was requested.- Each app has its own approval workflow, so stages that apply to one app go on that app’s workflow.
- To use different approvers for one permission, give that permission its own approval workflow. See Setting Up Entitlement-Based Approvals.
Common recipes (copy and adapt)
- Department‑based scrutiny
Ifuser.department = Finance→ add CFO/Finance Controller after Manager.
Else → Manager → App Owner. - Role/level rigor
Ifuser.role = Contractor→ Manager + Security.
Ifuser.role = Full‑Time Employee→ Manager only. - High‑risk apps
On each high‑risk app’s workflow → Manager → App Owner → Compliance Officer.
On other apps → stop after App Owner. - Cost center owners
On marketing apps’ workflows → Marketing Finance Partner.
On engineering apps’ workflows → VP Engineering. - Regional compliance
Ifuser.location = EU→ Data Protection Officer.
Else → Manager → App Owner. - Team ownership
On the GitHub workflow, ifuser.team = Engineering→ add DevOps Lead after Manager.
Ifuser.team = Customer Support→ skip DevOps, go to App Owner. - Sensitive job families
Ifuser.job_family IN [Finance, Legal, HR]→ Security/Audit stage.
Else → normal flow. - New hires / transfers
Ifuser.tenure < 90 days→ Manager + HR.
Else → Manager only. - Role elevation checks
On the Admin permission’s own workflow, ifuser.current_role = Analyst→ Director approval.
Else → standard flow.
How branching works
- Rules are evaluated top → bottom.
- The first matching branch runs.
- If nothing matches, a required fallback chain runs so every request has a path.
- Put your most specific rules first.
- Always include a comprehensive fallback.
Supported conditions and operators
- Standard if / else‑if / else routing with ordered evaluation.
- Expressions over the requester’s attributes, such as Email, Team, Title, Status, Start Date, End Date, Manager, Groups, Source App, and your custom attributes.
- AND / OR, equality, set membership, comparisons (e.g., tenure
< 90), and nested conditions.
department = Finance AND location = EU→ add Security stage.location = EU→ add Data Protection stage.title >= Director→ skip Manager stage.
Build it: from zero to working in 5 steps
- Define attributes. Confirm the fields you’ll route on (e.g.,
user.department,user.location, custom fields). - Order branches. Add branches from most specific to least specific.
- Add stages per branch. For each matched branch, add the sequential approver stages (e.g., Manager → App Owner → Security).
- Place Manager exactly where needed. Manager can appear at any stage.
- Add fallback + validate. Include a final fallback chain, run validation, and fix any flagged errors.
Visibility and auditability
Use Workflow records to see:- Which branches were evaluated and in what order
- Which branch matched and ran
- The explicit match reason
Performance guidance
- Flexible Approvals supports complex rules and long chains. Extremely large configurations can increase evaluation latency and time‑to‑approval.
-
Recommendations:
- Keep to ≤ 10 branches (chains) per approval workflow when possible.
- Keep to ≤ 50 condition rules per workflow when possible.
FAQs
Are parallel approvals supported?Approvals run sequentially across stages. For “parallel‑ish” behavior, put multiple approvers in the same stage; those approvers are evaluated with OR logic. Can one person approve more than one stage of the same request?
By default, yes. If someone is an approver at two stages, for example the requester’s manager who is also in a later stage’s group, they can approve both. Lumos Support can turn on a setting that requires a different approver at each stage. With it on:
- A person who approved an earlier stage can’t approve a later stage of the same request. If they try, Lumos shows “You already approved this request at an earlier stage.”
- If they were added to the later stage as an individual approver or through an attribute such as Manager, Lumos removes them from that stage. If they’re in a group assigned to the later stage, the group stays assigned and the other members can approve.
- If removing them leaves the stage with no approvers, the approval task is blocked and your org admins are notified, the same as any stage with no approver.
By default, yes. Lumos Support can turn on self-approval blocking, which stops the person receiving the access from approving it. The setting applies to every access request in your organization, not to one app. To turn it on, contact Lumos Support. With self-approval blocking on:
- Lumos checks the person receiving the access (the target user), not the person who submitted the request.
- If the target user was added to a stage as an individual approver or through an attribute such as Manager, Lumos removes them from that stage. The task goes to the remaining approvers in the stage.
- If the target user is in a group assigned to a stage, the group stays assigned. The other members can approve, and Lumos shows the target user “Approving requests for yourself is blocked.” if they try.
- The same applies to delegates. A delegate can’t approve a request for access they will receive. See Configuring Delegation.
- Requests that match a pre-approval rule are approved automatically without an approval stage, so self-approval blocking doesn’t affect them.
Product policies apply to auto‑removal or reassignment. If not auto‑handled, the request is blocked with an actionable error until resolved. Will my existing approvals migrate?
Yes. Migration is designed to be transparent with safeguards to prevent disruption. What prevents broken configurations?
Validation blocks malformed chains until fixed.
Troubleshooting
- A request skipped the branch I expected. Check branch order; more specific rules must appear above broader ones. View the match reason in Workflow records.
- Manager stage didn’t trigger. Ensure Manager is explicitly placed at the intended stage of the matching branch.
- Latency feels high. Reduce total branches/conditions; prefer simpler predicates where possible.
- Compliance stage didn’t run. Confirm the requester’s attributes match your condition logic (e.g.,
user.location = EU).
Example: full configuration
Branches (evaluated top → bottom):-
If
requester.department = "Finance"- Manager
- Finance Ops
- Security
-
Else if
requester.location = "EU"- Manager
- Data Protection Officer
-
Else (fallback)
- Manager
Glossary
- Branch - A conditional path (if / else‑if / else) that may run.
- Stage - A sequential step within a branch with one or more approvers.
- Fallback - The final, always‑present chain that runs when no other branch matches.
- Match reason - Recorded explanation of why a branch ran (for audit/debugging).