Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

c. Click Submit to initiate the rollback process.

...

2. SCM Revision

When files are committed to a source control system (such as GitHub, GitLab, or Azure), a commit history and file revisions are created. FlexDeploy can leverage these revisions for rollback.

...

b. Click Submit to initiate the rollback process.

...

Rollback for Data Files (Data Deployment)

FlexDeploy also supports rollback for Data Files (e.g., .csv files) containing Salesforce object records. After a data deployment, FlexDeploy allows users to revert records or data changes if necessary.

Currently, FlexDeploy only supports rollback for data files using Project Version with the following limitations:

When to Use: If data (such as Salesforce Object records) have been inserted or modified (updated or upserted), and you need to revert the data back to a previous state, you can use the rollback option to restore the earlier version of the data.

Example Scenario:

  1. When you initially insert data, FlexDeploy will deploy that data in the target org.

  2. If you later perform updates or upserts on those same records (for example, modifying the records), and then you want to revert to the original state, you can use the rollback option.

  3. The rollback will restore the data to its prior state, undoing the updates or changes made to the records since the last insert.

a. Click on the Rollback - Select Project Version Source Type and previous version as Rollback Value.

...

b. Click Submit to initiate the rollback process.

...

Additional Notes for Rollback

1. Skip: If you want to perform a rollback for specific files (and not all files in the deployment package), FlexDeploy allows you to Skip any files that do not need to be rolled back, even if they are listed in the package. This ensures that only the files you select will be reverted, while others will remain unchanged.

...

2. Notes: Before submitting a rollback request, you must provide a Notes. This field is mandatory for all rollback requests, and it is available for all workflow request types. The note can be reviewed later in the project execution history or in reports.

...

Rollback capabilities in FlexDeploy for Salesforce development offer flexibility, precision, and confidence in deployment management. Whether you are reverting a full deployment or rolling back specific components, FlexDeploy’s versioned artifacts, file revisions, and backups repository provide the tools necessary to ensure system stability and minimize downtime. By integrating rollback strategies into your deployment workflow, you can ensure smoother, more reliable Salesforce development and maintenance.