Skip to main content
Platform

What is Change Set in Salesforce?

Updated · By the Clientell AI team · How we write

A change set in Salesforce is a bundle of metadata changes that you send from one org to another, usually from a sandbox to production. It carries setup items such as custom fields and flows, not records. You build it as an outbound change set. The target org deploys it as an inbound change set.

Key facts

What it moves
Metadata, meaning customizations made in Setup. Never records (Salesforce Help).
Two sides
Outbound change set in the source org, inbound change set in the target org
Typical path
Sandbox to production, or sandbox to sandbox, over a deployment connection (Salesforce Help)
Where to find it
Setup > Outbound Change Sets and Setup > Inbound Change Sets
Deploy rule
An inbound change set deploys as a whole, not component by component
Before you deploy
Validate first to see the success and failure messages (Salesforce Help)

Clientell AI, the AI Salesforce admin, compares your sandbox to production and deploys from a chat, with a pre-flight check and rollback, so Change Set stops being a manual step. See AI Salesforce deployments

Try it in Clientell AI

“Compare my sandbox to production, list what a Change Set would move, and show the risks before anything deploys.”

Clientell AI reads your org first. Platform deployments include rollback. How security works.

Start the 14-day free trial, no card

What is a change set in Salesforce?

A change set is the standard click-based way to copy customizations from one Salesforce org to another. You build and test a change in a sandbox. Then you add it to a change set and send it to production.

Change sets contain information about the org, not data such as records (Salesforce Help). You cannot use one to upload contact records. Use Data Loader or the Data Import Wizard for records.

Change sets carry only changes you can make through Setup. Code changes outside Setup need the Metadata API or the Salesforce CLI.

What is the difference between outbound and inbound change sets?

The same change set has two names, depending on which org you are in. You work in both orgs.

Outbound change setInbound change set
Where it livesThe org you send fromThe org that receives it
Who creates itYou, by adding componentsNobody. It arrives after you upload.
What you do with itAdd components and dependencies, then uploadValidate it, then deploy it
Typical useSend changes tested in a sandboxReceive changes in production

How do you deploy a change set step by step?

Both orgs must be connected before you can send anything. Salesforce calls this a deployment connection. Production and its sandboxes are connected by default (Salesforce Help).

  • 1. In the source org, go to Setup > Outbound Change Sets. Click New and name the change set.
  • 2. Under Change Set Components, click Add. Pick the component type, select items, and add them.
  • 3. Click View/Add Dependencies to add what your items rely on. A flow needs every component it references.
  • 4. Click Upload and choose the target org.
  • 5. In the target org, go to Setup > Inbound Change Sets. Find the change set under Change Sets Awaiting Deployment.
  • 6. Click Validate. It runs a test deploy and saves no changes. Fix any failure in the source org.
  • 7. Click Deploy, then check Setup > Deployment Status. If it fails, fix the cause in the source org and upload again.

Why do change set deployments fail for flows?

Flow rules cause most failed deployments (Salesforce Help).

A change set with a flow must include every component the flow references. Some references, such as Post to Chatter, Send Email and Submit for Approval, do not show on the Component Dependencies page. If your flow has a Submit for Approval element, add the approval process by hand.

An active flow arrives in the target org as inactive, so you activate it after the deploy. You can include only one version of a flow in a change set. Flow triggers are not available. Validation locks the resources being deployed, so validate off-peak (Salesforce Help).

Change sets vs other ways to deploy

Change sets are the simplest tool, but they are manual. You cannot version or roll back a change set the way you can with source control. Teams that deploy often tend to move to the Salesforce CLI with Git, or to a DevOps tool (Salesforce Help). Change sets stay a good fit for small, occasional changes between connected orgs.

ToolBest forTrade-off
Change setSmall, click-based changes between connected orgsManual, no version history, no data
Salesforce CLI / Metadata APIRepeatable deploys from source controlNeeds a developer skill set
Data Loader / Data Import WizardMoving recordsDoes not move setup changes

What are common change set mistakes?

Each of these has a quick fix.

  • Skipping dependencies. Fix: click View/Add Dependencies before every upload.
  • Expecting records to move. Fix: use Data Loader for data.
  • Forgetting to activate flows after deploy. Fix: add the activation step to your release checklist.
  • Deploying straight to production without validating. Fix: validate first and read every message.

FAQ: Change Set in Salesforce

What is a change set in Salesforce?

A bundle of setup changes, called metadata, that you send from one org to another. You build it in the source org and deploy it in the target org. It never contains records.

What is the difference between inbound and outbound change sets in Salesforce?

An outbound change set is the one you build and upload from your current org. An inbound change set is the same package, seen from the org that received it. You validate and deploy it there.

Can a change set move data?

No. Change sets hold information about the org, not records (Salesforce Help). Use Data Loader or the Data Import Wizard for records.

Can I deploy part of an inbound change set?

No. You deploy the contents of an inbound change set as a whole, not component by component.

Why did my flow arrive inactive?

An active flow in a change set is deployed as inactive. Activate it by hand after the deploy (Salesforce Help).

How do I test a change set before deploying?

Click Validate on the inbound change set. It runs a test deploy with the same messages as a real deploy and saves no changes (Salesforce Help).

Getting Started

Try this on your own org

Start the 14-day free trial, no card. Clientell AI asks before it changes anything in production.

14-day free trial  ·  No credit card required

SOC 2
HIPAA
ISO 27001
Salesforce Partner