- The workflow has long-running or resource-intensive steps that have already succeeded.
- You want to preserve progress and avoid re-executing successful operations.
- The failure was a temporary issue that can now be resolved.

You can retry the failure function of a workflow run if it has failed
You can modify workflow code as long as changes occur after the failed steps.
Changes to steps prior to the failure are not allowed and may break the workflow.For more details, check out the Handle workflow route code changes page.