Standard Salesforce Flows excel at automating real-time field updates, screen forms, and trigger operations for individual users in a single transaction. However, complex enterprise processes—such as employee onboarding, contract approvals, or multi-departmental claims processing—often span multiple days, involve hand-offs across distinct teams, and require sequential and parallel approvals. Salesforce Flow Orchestrator provides a dedicated workflow orchestration layer that coordinates multi-user, multi-step business processes declaratively.
1. Understanding the Core Building Blocks of Flow Orchestrator
Flow Orchestrator organizes complex workflows using an intuitive visual hierarchy within Flow Builder:
- Orchestration: The top-level process definition. It can be a Record-Triggered Orchestration (fires when a record is created or updated) or an Autolaunched Orchestration (invoked via REST API, Apex, or Custom Actions).
- Stages: High-level phases within the orchestration that organize related work. Stages can run sequentially (one after another) or conditionally based on previous outputs.
- Steps: The individual actions executed within a stage. Steps can run sequentially or in parallel (simultaneously) and come in two distinct types:
- Interactive Steps: Assign a Screen Flow to a specific user, group, queue, or resource. The assigned user completes the task via the Flow Orchestrator Work Guide component on the record page.
- Background Steps: Call an Autolaunched Flow to perform backend database operations, calculations, or external API callouts with no user interaction required.
- Trigger Types: Record-Triggered (Created/Updated) and Autolaunched (No Trigger).
- UI Component: Flow Orchestrator Work Guide (Lightning Record Page component for assigned interactive tasks).
- Execution Model: Asynchronous state engine that pauses between stages/steps while awaiting user input or completion conditions.
- Monitoring Hub: Orchestration Runs and Orchestration Work Items standard objects for real-time tracking and audit logging.
2. Flow vs. Flow Orchestrator: When to Use Which?
| Capability | Standard Salesforce Flow | Flow Orchestrator |
|---|---|---|
| User Scope | Single user per session | Multi-user across different roles, queues, and departments |
| Execution Duration | Immediate / Short-lived (single transaction or paused interview) | Long-running (hours, days, or weeks across multiple stages) |
| Parallel Execution | Sequential execution only | Native parallel step execution within stages |
| Task Assignment UI | Requires custom task/email setup | Native Work Guide component showing contextual assigned Screen Flows |
3. Real-World Walkthrough: Employee Onboarding Orchestration
When a
Candidate__c record status changes to 'Hired':
- Trigger: Record-Triggered Orchestration on
Candidate__cstarts whenStatus__c = 'Hired'. - Stage 1 (HR Documentation):
- Interactive Step: Routes an Interactive Screen Flow to the HR Queue to confirm identity, benefits selection, and tax documentation.
- Stage 2 (Parallel Provisioning - IT & Facilities): Once Stage 1 completes, Stage 2 launches two parallel steps simultaneously:
- Step A (Interactive - IT Queue): Assigns an interactive laptop and software licensing provisioning flow to IT.
- Step B (Interactive - Facilities Queue): Assigns an office badge and parking pass assignment flow to Facilities.
- Stage 3 (Background Completion): Once both IT and Facilities complete their tasks:
- Background Step: Calls an Autolaunched Flow to create an active
Userrecord in Salesforce, assigns permission sets, and sends a welcome email.
- Background Step: Calls an Autolaunched Flow to create an active
4. Monitoring, Debugging & Work Guide Setup
Flow Orchestrator includes dedicated tracking tools to give administrators complete visibility into active processes:
- Add the Work Guide Component: Open the Lightning App Builder for target record pages (such as Opportunity or Case) and drag the Flow Orchestrator Work Guide component into the layout so assignees see their pending screen flows.
- Track Orchestration Runs: Navigate to
Setup > Orchestration Runsto view the live execution status, history of completed stages, and current bottlenecks across active orchestrations. - Reassign Pending Work: If an employee is on leave, administrators can reassign open
Orchestration Work Itemsdirectly from the record layout or setup list views.
5. Common Traps & Architectural Best Practices
Flow Orchestrator is designed for cross-team coordination. Using orchestrations for simple same-record updates or basic notifications adds unnecessary overhead and consumes run allotments. For immediate, single-transaction processes, always stick to standard Record-Triggered Flows.
- Keep Subflows Modular: Ensure individual Screen and Autolaunched Flows accept
recordIdas an input variable so Orchestrator can pass context cleanly between steps. - Define Clear Entry and Exit Criteria: Use explicit completion conditions on stages (e.g., custom formulas or record field states) to prevent orchestrations from stalling.
- Always Assign to Queues or Roles: Avoid assigning interactive steps to hardcoded user IDs; use Public Groups, Queues, or dynamic resource lookups to prevent broken flows when team members change roles.
Summary
Salesforce Flow Orchestrator elevates process automation from single-user transactions to enterprise-wide coordination. By organizing workflows into visual stages, parallel interactive steps, and automated background tasks, organizations can streamline complex hand-offs across departments, eliminate manual bottlenecks, and deliver transparent end-to-end business operations.