Skip to content
Salesforce Silver
  • Home
  • Blog
  • About Me
an artist s illustration of artificial intelligence ai this image represents the role of ai in computer optimisation for reduced energy consumption it was created by linus zoll as part Flow

Why Flow Design Matters in Salesforce

  • by Simone

Picture this: a flow in your Salesforce org, ticking away for years. It triggers when the Opportunity stage changes. It populates start and end dates. This is much like Opportunity History. Yet, it is easier to access for external systems.

I hadn’t touched this flow in years. My philosophy was, “Never change a running system.” But as our Sales process changed, this flow was one of the many components needing an update.

The Problem with the Old Flow

This was a fast field update flow. However, it had one glaring issue. There were way too many pink elements (you know, those “Update Records” ones). It worked, sure, but it was messy and hard to follow. Every update required wading through a swamp of elements, making it a pain for anyone to troubleshoot or change.

Starting Fresh: A Design Approach

Before diving into Flow Builder, I grabbed a pen and paper. Yes, old school! I sketched out ideas to streamline the flow, reduce decision elements, and make it easier to understand at a glance. The goal? Less complexity, more clarity.

Here’s what I ended up with:

  1. No More Pink Elements: All updates are handled with Assignments.
  2. Simplified Decisions: One Decision element evaluates stages sequentially, with a second check for closed stages.
  3. Smarter Logic: Validation rules take care, that Users do not jump Opportunity stages. Our new flow triggers on changes between stages without considering stages being bypassed. For one specific Opportunity type, additional checks make sure dates are assigned correctly. We also have a second decision element on closed Opportunities evaluating the previous stage.

The Results: A Faster, Cleaner Flow

The revamped flow isn’t just easier to read and maintain; it’s also faster. The old flow clocked in at 0.78 seconds, while the new one completes its job in 0.65 seconds. It might not seem significant. However, when you’ve got hundreds of flows running in your org, those milliseconds add up.

  • Old Flow
  • Old Flow running time
  • New Flow
  • New Flow running time

Lessons Learned

  1. Don’t Fear the Redesign: Just because something works doesn’t mean it’s optimal. Take the time to revisit and rethink old flows.
  2. Keep It Simple: Use Assignments and Decisions wisely. Avoid cluttering your flow with unnecessary elements.
  3. Measure the Impact: Even small performance improvements can have a big cumulative effect in a busy org.

Flow design is more than just a technical exercise; it’s an art. A well-designed flow saves time, reduces errors, and makes life easier for everyone in your org. So, the next time you’re tempted to leave that “running system” untouched, ask yourself: could it run better? Chances are, the answer is yes.

What’s your experience with cleaning up old flows? Share your stories and tips in the comments!

Recent Posts
  • Why You Should Consider the Salesforce Sales Representative Certification
  • Conditional Formatting in Salesforce: Making Life Easier (with ”)
  • Salesforce UX Designer – is in the bag!
  • Why Flow Design Matters in Salesforce
  • New Year’s Resolution: Certifications!
Recent Comments
No comments to show.
Archives
  • March 2025
  • January 2025
  • December 2022
  • November 2022
  • October 2022
  • September 2022
Categories
  • Flow
  • Project
  • Salesforce Administrator Exam
  • Salesforce Business Analyst
  • Salesforce Learning
  • Superbadges
  • Talentstacker
  • Useful Notes
Theme by Colorlib Powered by WordPress