Resources /
Blog

The 5 Biggest Salesforce DevOps Implementation Challenges and How to Overcome Them

Submit your details to get a book

8
Min Read
Resources /
Blog

The 5 Biggest Salesforce DevOps Implementation Challenges and How to Overcome Them

Download

Submit your details to get a book

8
Min Read
Rising bar chart linked to clock and branch tiles, illustrating Salesforce DevOps implementation challenges
Rising bar chart linked to clock and branch tiles, illustrating Salesforce DevOps implementation challenges

The five biggest Salesforce DevOps implementation challenges are version control for metadata, releases across many orgs, disconnected tools, thin testing and resistance to change, and most trace back to the org itself. Metadata and config sit in it next to the code, and admins push changes into the same orgs as developers, which our Salesforce DevOps guide covers in more depth.

This one's for release managers, architects and DevOps leads, the people who get the call when a deploy undoes somebody's fix. For each challenge you get the evidence and a fix that can use Salesforce's own tools or Flosum.

Why is DevOps harder in a Salesforce implementation than on other platforms?

Out of the box you get change sets, and they only move metadata between related orgs. Our change set limitations guide counts what they can't do: keep history, roll back, delete, rename, or go past 10,000 files.

The gaps matter more than they look on paper. DORA's version control research found that thorough use of version control predicts continuous delivery, and its continuous delivery page says the practice holds up in highly regulated environments.

The five challenges at a glance

For each challenge, the table shows how it surfaces in a real org and what fixes it. Every fix is either a Salesforce feature or something documented for the Flosum DevOps Cloud App.

ChallengeHow it shows upFix
Version control for metadataSandbox changes nobody captured; a later deploy overwrites earlier workSource-driven development with metadata-aware version control and merge
Releases across many orgsManual change sets, tracking spreadsheets, no rollbackValidated pipelines with deploy and rollback steps; back promotion to sync sandboxes
Disconnected toolsDeployment status that doesn't sync with Jira or GitJira status mapping on deploy and automatic Git sync
Thin testingApex tests that reach 75% coverage but prove littleValidation with Apex tests, code scanning and Full sandbox testing
Resistance to changeAdmins kept on change sets by developer-first toolsPeer review through approval rules, role-based training and shared metrics

1. How do you fix the lack of version control for Salesforce metadata?

Say someone tweaks a component in a sandbox and never captures it. Now the org and the repository disagree, and if a colleague changed the same component, the next deploy can overwrite their work.

Change sets won't save you here. Each one is a static snapshot, so you lack any history to compare against or restore from, and our version control guide explains why metadata needs its own approach.

What fixes it is source-driven development. Salesforce's free Lifecycle Center (formerly DevOps Center) does that with Git, work items and a pipeline, and our Lifecycle Center comparison has it running on GitHub or Bitbucket Cloud.

Flosum's DevOps platform takes a different route, and Git is optional, per its product page. Merges run component by component for each metadata type, which is why a Profile merges differently from an Apex class.

For quick merges between branches the Cloud App has Smart Merge, and when a change needs sign-off, you open a pull request instead. You'll still hit conflicts now and then, and our merge conflicts guide walks through them.

2. How do you handle release management across multiple Salesforce environments?

Run releases on change sets and every hop is a manual deploy, from development through QA and UAT to production. Our multi-org guide describes teams tracking the changes and manual steps in spreadsheets.

Partial deploys are the nasty case. Our change set guide describes a custom field arriving without its validation rule and flow, and with no rollback, you're stuck with a reverse change set or a manual rebuild.

On the Salesforce side, validate before you deploy. The CLI's sf project deploy validate runs Apex tests against production without saving anything, and a quick deploy then ships the validated package without rerunning tests.

In the Cloud App, a pipeline takes a branch through validation, tests and deployment to its orgs, and it can launch automatically. Back promotion goes the other way, pushing production changes down to sandboxes, as our keeping sandboxes in sync post shows.

Releases still hit errors sometimes. In the Cloud App, rollback restores components from the pre-deploy backup snapshot, and a Flosum customer story shows a team rolling back whole releases or part of one.

3. How do you handle Salesforce DevOps integration with Jira, Git and other tools?

Change sets work in silos. Per our change set guide, they don't integrate with version control, project management or monitoring tools, and deployment status doesn't sync with project management either.

The Cloud App's Jira integration closes the Jira gap by updating story statuses when a branch deploys to an org. You map each org to a status, say Production to Done, and the stories move on their own.

On the Git side, the Cloud App's Git integration syncs branches to a Salesforce DX-format repository and makes a new commit with each sync. The product page also lists GitHub, GitLab, Bitbucket, Azure DevOps, Slack, ServiceNow, Selenium and Agentforce.

Developers on the team will want the detail. Our post on Flosum's Git integration shows how branches and metadata pushed from Flosum also get created in the Git repository.

4. How do you make testing part of every change?

To deploy Apex, Salesforce requires at least 75% coverage with passing tests. That's a floor, and the Apex Developer Guide is upfront that coverage doesn't prove the tests are good.

Manual regression testing is slow, expensive and a bottleneck, according to DORA's test automation research. Where you test matters too, and a Developer sandbox adds risk because it copies metadata only, per Salesforce Help.

So validate every change before it moves anywhere. The Validate operation in a Cloud App pipeline simulates a deployment, can run tests, and commits nothing to the target org.

Add a Code Scan operation to that pipeline to check Apex with PMD or Flosum Scan. Set a severity threshold and the pipeline aborts at it.

The Cloud App's AI Test Class Creator drafts a test class for you to review before committing. Run final tests in a Full sandbox environment, which has all data and a 29-day refresh, per Salesforce's sandbox types.

We've gone deeper on automated Salesforce testing in our posts on test automation and regression testing. The second one shows why manual regression testing holds back faster releases.

5. How do you get people to adopt DevOps?

Admins stay on change sets for a plain reason. Alternatives often required Git and CLI skills, our admin adoption guide says, and admins need a structured path plus tools that respect declarative workflows.

Culture shows up in DORA's data, where a high-trust generative culture with good information flow predicts software delivery performance. Its change approval research says approvals work best as peer review during development, backed by automation.

Put review where the work already happens. With pull request approval rules in the Cloud App, you set a minimum number of approvals per target branch, and a pull request can't merge until it has them.

Training is the other half, and it should go by role. The adoption guide says it lands better matched to team size, operating model and failure patterns, and that a blameless culture improves deployment recovery.

What data shows the fixes are working?

DORA's delivery metrics give you five measures of throughput and instability, with a warning that comparing very different applications can mislead. Pick one application, baseline it before you change anything, and compare every quarter.

Each metric below is matched to the challenge it tells you most about. For collecting them in Salesforce, see our DORA metrics guide.

DORA metricWhat it measuresChallenge it tracks
Change lead timeTime from commit to deployed in productionVersion control and multi-org releases
Deployment frequencyNumber of deployments in a periodMulti-org releases and adoption
Failed deployment recovery timeTime to recover from a deployment that failsRollback across orgs
Change fail rateShare of deployments that need immediate interventionTesting
Deployment rework rateUnplanned deployments caused by production incidentsTesting and disconnected tools

Where does Flosum fit?

Flosum's DevOps platform puts admin, developer and AI-generated changes through one set of version control, approvals and audit trail, per its product page. In the Cloud App, every change gets checked against an org dependency graph too.

Flosum DevOps runs in Flosum's cloud or in your own cloud.

Lifecycle Center is a free upgrade from change sets. When release risk, audit, recovery or scale outgrow its limits, our Lifecycle Center alternatives post covers what to look for.

For the bigger picture, our Salesforce DevOps guide is the place to begin. If the terms get muddled on your team, the DevOps vs CI/CD explainer sorts out how they differ.

FAQs

What are the biggest challenges in Salesforce DevOps?

We'd name five: version control for metadata, multi-org releases, disconnected tools, thin testing and resistance to change. Each one has a fix in Salesforce's own tools or in a platform like Flosum.

Can you do Salesforce DevOps without Git?

Yes. Flosum's product page says Git is optional, because its metadata-aware version control is the system of record, while Lifecycle Center does use a Git repository.

How much Apex test coverage do you need to deploy?

At least 75% of your Apex code, and the tests must pass, per the Apex Developer Guide. Treat it as a floor, since coverage alone doesn't prove the tests are good.

How do you roll back a Salesforce deployment?

With change sets you can't, so you're left with a reverse change set or a manual rebuild. In the Flosum DevOps Cloud App, rollback restores components from the backup snapshot taken before the deploy.

What is back promotion in Salesforce?

It's pushing changes that are already in production back down to your sandboxes, so the two don't drift apart. In the Flosum DevOps Cloud App it runs as a pipeline from the branch record.

How do you measure Salesforce DevOps success?

Track DORA's five: change lead time, deployment frequency, failed deployment recovery time, change fail rate and deployment rework rate. Compare each application only against its own baseline.

Book a demo to see how Flosum DevOps handles version control, pipelines and rollback across your Salesforce orgs.

Table Of Contents
Author
Stay Up-to-Date
Get flosum.com news in your inbox.

Thank you for subscribing

Ship Salesforce changes faster
Teams on Flosum report 40% higher development velocity and 75%
fewer merge conflicts.
Free to start  |  No credit card required