Rollback on Failure
Configure the flow-level rollback action for an update flow.
The purpose of a rollback is to ensure that your software will always be able to return to a stable and running state. Rollback on Failure is a rollback of all the steps that have been wholly or partially completed, i.e., a general rollback of the flow. This includes deleting any files that have been delivered, returning the directory structure to its previous state, and undoing any commands and scripts that have run so far. After Rollback on Failure, your previously running versions will be running again.
If you choose Run Rollback in any of your steps, you need to enable and configure the Rollback on Failure action. This includes entering the command or script that will perform the rollback.
When you turn on Rollback on Failure here, Run Rollback in each step will be turned on.
To enable Rollback on Failure, do the following:
In the Create New Flow page, mark Rollback on Failure.

Choose to run either a command or a script that will perform the rollback.
Command: Include the command and the values for all required parameters.
Script: Prepare the script in advance and upload the file here.
What's Next?
Learn more about on failure and rollback configurations in On Failure Policy for Step.
Was this helpful?