Change Request Approval Routing: Process Owner and SOX Review

Power Automate · Approvals · SOX change control · Lumen Photonics lab

Approach highlighted

Routing by role, not by name. Every approver is looked up from data (the Departments list, an Entra group and the manager chain), so an org change never requires editing the flow, and segregation of duties is built into who gets asked.

Project Summary
Every change request at Lumen needs the department's process owner to approve it, and changes that touch the financial statements also need a financial review before anything is configured in Dynamics 365 Finance & Operations. This flow routes each request to the right people, records each decision and who made it, and writes the outcome back to the request.

StepWho approvesWhere the flow finds them
1. Process ownerThe owner of the requesting department's processThe Process Owner column on the Departments list, set on the request by the enforcement flow
2. Financial review (SOX relevant only)The ControllerMembership of the SG-Financial-Approvers Entra group
ConflictThe financial approver's managerEntra manager attribute, used if the financial approver requested the change or already approved it as process owner
Flow trigger, Set In Review, Process owner approval and a condition that records a rejection or continues to the SOX check
Process owner approval. A rejection is recorded and the flow ends.
SOX branch: get the financial approver's manager, choose the financial approver, start the financial approval and record approval or rejection
The SOX branch resolves the financial approver, asks them and records the outcome.

Starting at the Right Moment
Two flows act on a new request. The enforcement flow sets the process owner, so the approval flow must not start until that has happened, and it must start only once even though it updates the same request it triggers on. A trigger condition handles both: the flow runs only when the request is Submitted, has a process owner and has no decision yet. Its first action sets the status to In Review, so none of its own later updates match the condition again.

@and(
    equals(triggerBody()?['Status']?['Value'], 'Submitted'),
    not(empty(triggerBody()?['ProcessOwner'])),
    equals(triggerBody()?['ProcessOwnerDecision']?['Value'], 'Pending')
)
Trigger settings panel with the trigger condition
The condition lives in the trigger's settings, so non-matching changes never start a run.

Choosing the Financial Approver
The financial approver comes from group membership, so changing who reviews SOX changes is a group change in Entra, not a flow edit. The conflict rule keeps one person from approving twice or approving their own request:

// Normally the group member; their manager if they requested the change
// or already approved it as process owner
if(or(equals(toLower(member), toLower(requesterEmail)),
      equals(toLower(member), toLower(processOwnerEmail))),
   managerEmail,
   member)

Approvals are sent with reassignment turned off, because a one-click handoff to anyone would bypass the routing. Each approval links straight to the request, since approvers can't browse to the list.

SOX financial review approval email for change request 26, requested for Priya Nair, with a link to open the change request
The Controller's SOX financial review, requested on behalf of the person who submitted the change. Addresses are blurred.

Recording Who Decided
SharePoint's own approval features don't record who approved. The flow appends a line to an append-only Approval Comments column for every decision, with the approver's name, the time in Pacific time and their comment, and sets the Financial Approver column.

concat('Financial approver ',
       first(outputs('Financial_approval')?['body/responses'])?['responder']?['displayName'],
       ' approved on ',
       convertFromUtc(utcNow(), 'Pacific Standard Time', 'MM/dd/yyyy h:mm tt'),
       ': ',
       coalesce(first(outputs('Financial_approval')?['body/responses'])?['comments'], 'No comment'))

Two rules apply to every update the flow makes. SOX Relevant always passes through from the request, because the designer fills it with a default and a hard-coded Yes would silently undo a triage decision. And a decision is never written back to Pending once it has been made.

Testing It End to End
A cost accountant submitted a Finance change request. The enforcement flow set the CFO as process owner, the CFO approved, and the flow sent the SOX review to the Controller, who approved. The request finished Approved, with both decisions and the financial approver recorded.

Change request row: status Approved, department Finance, SOX relevant, process owner Sandra Whitfield, process owner decision Approved, financial approver Grace Lin
The same row continued: financial decision Approved, system D365 F&O, site HQ, priority High, requester Priya Nair
The finished request, shown as two halves of one row.

Version history tells the whole story: the requester submits, the enforcement flow sets the process owner and requester, the approval flow moves it to In Review, the CFO approves, and the Controller's approval releases it. The first run failed after the CFO approved because of a typo in a condition; the history shows the fix and the restart, because nothing is hidden.

Version history from submission through process owner approval, a restart, and financial approval to Approved
Every step of request 26, from submission to approval.

What Testing Found, and What's Next

Skills Demonstrated
Power Automate approvals, trigger conditions, multi-stage approval routing, nested conditions, Office 365 Groups and Users connectors, workflow expressions, SharePoint list updates, SOX-aligned segregation of duties, end-to-end testing as multiple users, and reading version history as an audit trail.

More from the Lumen Photonics lab

Lab at a Glance Building the Test Company Change Request Controls Lumen Hub Intranet Change Request Enforcement Document Control Change Control Dashboard Systems Assistant Agent

Back to Projects