Skip to content
MyAppBuilder
StableGuide

Roll back a release

If a release turns out to have a problem, you do not need to fix the draft under pressure: roll the live app back to any earlier release in a few clicks. Rollback changes only what is deployed; your draft and your data are untouched.

If a release turns out to have a problem, you do not need to fix the draft under pressure: roll the live app back to any earlier release in a few clicks. Rollback changes only what is deployed; your draft and your data are untouched.

When to use

  • A published change broke a page or a workflow and you need the previous behaviour back now.
  • You published the wrong version (for example an unfinished draft).

How to roll back

  1. Open Versions › Deployments. The two cards at the top show what is currently live in Production and Staging.
  2. Filter by Production (or Staging) and find the release you want, usually the most recent Superseded one.
  3. Optionally click Changes to see what differs between that release and the one before it.
  4. Click Roll back. The confirmation says: "Everyone using the app immediately gets version N. Your draft is not changed, and data is not affected."
  5. Confirm. The chosen version becomes the active deployment; the release you replaced is marked Rolled back.
Example
Before                                   After rolling back to v12
v14  Production  Active   LIVE           v12  Production  Active   LIVE  "Rollback to v12"
v12  Production  Superseded              v14  Production  Rolled back
                                         v12  Production  Superseded   (original release)

The rollback is listed as a new deployment with the note "Rollback to v12", so the history stays complete. You can roll back a rollback the same way.

Rollback versus restore

Roll back (Deployments)Restore (Version history)
ChangesWhat is live or on stagingYour draft in the editor
Affects customersImmediatelyNot until you publish
Typical useFix a bad release fastGo back to an earlier design to keep working from it

After rolling back, remember that your draft still contains the problem. Fix it (or restore an earlier version from Version history) and publish again when ready.

Who can roll back

Editors, admins and owners. Viewers can see the deployment list and open the diff but cannot roll back.

Common mistakes

  • Rolling back and then publishing the unchanged draft. That redeploys the problem. Fix the draft first; the Publish dialog shows which version will replace which.
  • Expecting data to roll back. Records are not versioned. If a release changed records through a workflow, correct them in Data › Records (live data, admins only).
  • Looking for rollback in Version history. Version history restores the draft; rollback lives in the Deployments tab.

Advanced

rollback() inserts a new deployments row pointing at the target's frozen versionId, sets the current active deployment to rolled_back, and updates liveDeploymentId or stagingDeploymentId. Rolling back production also clears the unpublished flag. The action is recorded in the audit log with the target version and environment.

Related

Was this helpful?