Rolling back unwanted changes in a Salesforce deployment

Jason Mann on June 22nd 2016


Rolling back changes in Salesforce is difficult. Without true rollback, developers and admins must revert changes one at a time in a slow and frustrating process. All that pain goes away when you start using Gearset.

With Gearset, you can now easily roll back any deployment made through the app in a few clicks. Gearset offers the choice of reverting an entire package, or specific objects, and you can manage the whole process through our intuitive user interface.

Rollback is tricky - but not with Gearset

Rolling back changes in Salesforce is not always simply a case of reversing what you deployed. Creating and then removing changes can have wider dependency implications than the objects included in the original package. This means that simply ‘undoing’ the core deployment is unlikely to work, and this is where other approaches to rollback falter.

Our deep understanding of the metadata in your orgs allows us to work around these complications. By automatically discovering new object dependencies when creating a rollback, we make the process faster and more reliable. You can easily select the changes you want to revert, include any dependencies and complete the rollback.

How to roll back a deployment with Gearset

1. Find the deployment you want to roll back from your deployment history, and click Roll back

2. Gearset will run a comparison between a snapshot of the org (taken immediately prior to the deployment you want to roll back), and its current state. From here, you can choose exactly which changes to roll back. In this case, there’s a static resource I deployed which I now want to delete.

3. After selecting the objects to roll back, click Next to be taken to the pre-deployment summary. Click Deploy now or Validate deployment to complete the rollback process.

4. After successfully rolling back your changes, your deployment will be stored in your deployment history, tagged as a rollback. From here, you can view the usual deployment report, download the package and even roll back the rollback if you wish!

How do I try the new rollback feature?

Rollback is part of the Enterprise tier of Gearset, and everyone can try it out with our 30 day free trial.

If you’re currently a Pro subscriber and you’d like to upgrade your account to start using org rollback, get in touch at [email protected].

Give us your feedback

Many people have asked us for rollback in Gearset. One challenge is that rollback means different things to different people. Some wanted a single button to revert all changes. Others wanted the ability to selectively revert some parts of a previous deployment. What we’ve released is hopefully a middle ground - it makes rollback as simple as possible while maintaining the granular control our users love. Please share your feedback and help us continue to develop this feature in the future.

Ready to get started with Gearset?

Sign up now to start your completely free 30 day trial
try it now