Project Management Community Question

Should I use Flow Orchestrator or Apex for complex multi-step approvals?

Posted on 2025-01-11 • In Project Management • By Jason Whitmore

We have a complex discount approval process that spans three different departments and requires sequential steps that can take days to complete. I’m debating between using the new Flow Orchestrator or just sticking with a custom Apex Trigger/Approvals framework. Orchestrator seems great for the "low-code" aspect, but I’m worried about the pricing (per-run cost) and the potential for "stuck" orchestrations. Which one is better for enterprise-grade scalability?

3 Answers 7,581 Views

All answers to this question 3 Answers

Michelle Rodriguez Answered on 2025-03-05
Answered

Flow Orchestrator is a game-changer for visibility. The "Work Guide" component on the Lightning page makes it very clear to the end-user what they need to do next, which you don't get with pure Apex. However, if your volume is extremely high (thousands of orchestrations a day), the cost can become a significant factor. For most mid-market companies, the "Interactive Steps" and the ability for an Admin to modify the logic without a deployment cycle far outweigh the per-run cost. If you need sub-second execution or complex mathematical validation, use Apex for those specific steps inside the Orchestration using an Autolaunched Flow.

Gary Thompson Answered on 2025-03-22
Answered

How are you planning to handle "rejections" where the process needs to jump back two steps? I’ve found that "looping" back in Orchestrator can be a bit finicky.

Jason Whitmore Commented on 2025-03-30
Commented

Gary, that’s actually our biggest concern. We are designing the Orchestration with "Go To" elements, but it does feel like it's getting a bit "spaghetti-like." I’m trying to keep each stage as modular as possible so that if a rejection happens, we just reset the specific stage status. It's definitely more visual than reading through 500 lines of Apex code, but the logic flow needs to be airtight before we go live in production.

Rachel Green Answered on 2025-05-15
Answered

Orchestrator is great for "Human-in-the-loop" tasks, whereas Apex is better for purely system-to-system "headless" automation where speed is the only priority.

Michelle Rodriguez Commented on 2025-05-20
Commented

Spot on, Rachel. The "Interactive Step" is really the killer feature here—giving users a specific UI task within a larger process is something Apex alone can't do easily.

Write a Comment

Your email address will not be published. Required fields are marked (*)

Join the LearnersEra Community

Ask questions, share knowledge and learn from professionals across technology, project management and certification topics.

Change Country and Nearest City

Select your country and nearest city to see courses available in your region.