Skip to main content
Design dynamic, policy‑driven approval flows that adapt to who’s requesting access. Use ordered if / else‑if / else branches and multi‑stage chains to automate the right path every time.

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)

  1. Department‑based scrutiny
    If user.department = Finance → add CFO/Finance Controller after Manager.
    Else → Manager → App Owner.
  2. Role/level rigor
    If user.role = Contractor → Manager + Security.
    If user.role = Full‑Time Employee → Manager only.
  3. High‑risk apps
    On each high‑risk app’s workflow → Manager → App Owner → Compliance Officer.
    On other apps → stop after App Owner.
  4. Cost center owners
    On marketing apps’ workflows → Marketing Finance Partner.
    On engineering apps’ workflows → VP Engineering.
  5. Regional compliance
    If user.location = EU → Data Protection Officer.
    Else → Manager → App Owner.
  6. Team ownership
    On the GitHub workflow, if user.team = Engineering → add DevOps Lead after Manager.
    If user.team = Customer Support → skip DevOps, go to App Owner.
  7. Sensitive job families
    If user.job_family IN [Finance, Legal, HR] → Security/Audit stage.
    Else → normal flow.
  8. New hires / transfers
    If user.tenure < 90 days → Manager + HR.
    Else → Manager only.
  9. Role elevation checks
    On the Admin permission’s own workflow, if user.current_role = Analyst → Director approval.
    Else → standard flow.
Tip: Start from the example closest to your policy, then tweak attributes, operators, and stages.

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.
Best practices
  • 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.
Examples
  • 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

  1. Define attributes. Confirm the fields you’ll route on (e.g., user.department, user.location, custom fields).
  2. Order branches. Add branches from most specific to least specific.
  3. Add stages per branch. For each matched branch, add the sequential approver stages (e.g., Manager → App Owner → Security).
  4. Place Manager exactly where needed. Manager can appear at any stage.
  5. Add fallback + validate. Include a final fallback chain, run validation, and fix any flagged errors.
Load‑test complex rulesets if you expect high volume.

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
This makes troubleshooting and audit reviews straightforward.

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.
The setting applies to every multi-stage approval workflow in your organization, not to one app. To turn it on, contact Lumos Support. Can someone approve their own access request?
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.
Conditions in the approval editor, such as Email, are evaluated against the target user, not the person who submitted the request. Self-approval blocking doesn’t stop someone who submits a request on another person’s behalf from approving that request. This is a known limitation. To make sure a second person is involved, add a stage whose approvers don’t include the people who request on others’ behalf. What happens if an approver becomes unavailable mid‑stage?
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):
  1. If requester.department = "Finance"
    1. Manager
    2. Finance Ops
    3. Security
  2. Else if requester.location = "EU"
    1. Manager
    2. Data Protection Officer
  3. Else (fallback)
    1. Manager
The first true branch runs; otherwise the fallback executes.

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).