Sub topic 16
Flow Orchestrator for multi-step, multi-user processes
This chapter assumes you know how screen flows and record-triggered flows work, and that you have seen approval processes. Flow Orchestrator builds on all three.
What Flow Orchestrator is
Flow Orchestrator is a Flow Builder feature for processes that run in order across several people or teams and may last days or weeks. You build an orchestration out of stages. Each stage holds steps that run one after another, or in parallel with each other. A stage finishes only when all of its steps are done.
There are two kinds of step:
- Interactive step: assigns a screen flow to a user, group or queue. The assignee sees it as a work item, often in a Lightning page component, and completes it.
- Background step: runs an autolaunched flow with no user input, such as updating records or sending a notification.
An orchestration can also pause until a condition is met, for example until a related record changes status.
How it differs from nearby tools
| Need | Best fit |
|---|---|
| One yes/no sign-off on a record | Approval process |
| One user filling in guided screens | Screen flow |
| Several steps, several owners, tracked progress | Flow Orchestrator |
An approval process models a single decision chain. Orchestrator can include approvals as steps, and it adds stages, parallel work, and a view of which step is waiting on whom.
Example: employee onboarding
Orchestration: New Hire Onboarding (starts when Onboarding__c is created)
Stage 1: Paperwork (steps run in order)
1. Background step: create task records for the new hire
2. Interactive step: HR completes the "Verify Documents" screen flow
Stage 2: Setup (steps run in parallel)
- Interactive step: IT completes "Provision Laptop" (assigned to IT queue)
- Interactive step: Facilities completes "Assign Desk" (assigned to Facilities queue)
Stage 3: Welcome
- Background step: set Onboarding__c.Status__c = 'Ready' and email the managerStage 3 does not begin until both Stage 2 steps are complete. A manager can open the orchestration run and see which step is pending and who owns it.
Common errors
- Using it for simple work. If one record-triggered flow does the job, an orchestration adds overhead for no gain.
- Assigning to individuals. If that person leaves or is out, the work item stalls. Prefer queues or groups where possible.
- Skipping the step flows' testing. The orchestration only coordinates. Faults in a step's flow still need fault paths and testing as covered in earlier chapters.
- Ignoring limits. Background steps run as flows, so governor limits still apply to each one.
When to choose it
Pick Orchestrator when the requirement has multiple stages, handoffs between different people, and a need to track progress. Do not pick it for a single approval or a single screen. Chapter placement in the decision framework: it sits near the end of the checklist, alongside approval processes, for formal multi-step work.
Exercise
A purchase request needs legal review, then finance and security review at the same time, then a final background update. Reviewers are in different teams. Which tool fits, and how would you structure it?
Show answer
Flow Orchestrator. Stage 1 has an interactive step assigned to a legal queue. Stage 2 has two parallel interactive steps, one for finance and one for security. Stage 3 has a background step that updates the request record. A single approval process would not show parallel progress or support the final automated stage as cleanly.