Ways For Deployment B/W Different Salesforce Orgs

Pradhumn SharmaPradhumn Sharma
2 min read

There are several ways to deploy the changes from one salesforce org to another salesforce org that is not connected.


Option 1: Use Change Sets (only if they are connected via Deployment Connection — like sandbox to production)

Not possible if orgs are completely different (no connection).
So in your case, this will not work.


Option 2: Use Unmanaged Package

This works between any two orgs.

Steps:

  1. In the source org (where Flow exists):

    • Go to SetupPackage Manager (or "Packages").

    • Create a new Unmanaged Package.

    • Add your Flow to the package.

    • (Also add any related objects, Apex classes, custom metadata, etc., if your Flow references them.)

    • Upload the package (create a version).

  2. Copy the Install Link (you’ll get a URL).

  3. In the destination org:

    • Open the Install Link.

    • Install the package.

    • The Flow will now exist in the second org.


Option 3: Use ANT Deployment Tool (Advanced)

  • Export the Flow as metadata using Salesforce's ANT migration tool.

  • Deploy it to the other org using a package.xml.

  • Requires setting up Java, ANT, and Salesforce CLI tools.

Good for developers, but complex for simple moves.


Option 4: Use Salesforce CLI (SFDX)

  • Use Salesforce DX commands to retrieve and deploy the Flow metadata.

  • Example:

    • Retrieve from source org.

    • Authorize and deploy to destination org.

Again, more for developers / advanced users.


Option 5: Manual Recreation

If the Flow is simple:

  • Open it in one org.

  • Recreate manually in the other org.

  • (Not scalable for complex flows.)


Quick Recommendation:

  • If you want it easy → Unmanaged Package (Option 2).

  • If you want it professional → Salesforce CLI / ANT (Option 3 or 4).


Would you like me to show you a detailed step-by-step for the Salesforce CLI way? 🚀
Check This Out : Deployment B/W Different Salesforce Orgs Using Custom Metadata

0
Subscribe to my newsletter

Read articles from Pradhumn Sharma directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Pradhumn Sharma
Pradhumn Sharma

As a Salesforce Technical Consultant, I'm like the trailblazer in a digital jungle, swinging from cloud to cloud to unlock the hidden treasures of data. I speak fluent Apex and dance through flows like nobody's business. If you're up for a wild Salesforce adventure, I'm your trusty guide. Let's journey through the clouds and make your business dreams take flight! 🌟💻🌈 #Salesforce When you need Salesforce superpowers, and I promise not to speak in too much technobabble...unless you ask! Let's connect and discover how I turn cloud chaos into customer-pleasing comedy. 🤩 If there is anything I can help with - Just ask! Trailblazer: https://trailblazer.me/id/pradhumnsharma