Flow: Cancel in-progress workflow runs

Shopify Updates: 

You can now cancel workflow runs while they're in progress, either while they are executing a wait step, or when they are retrying due to an error.

Because workflow runs can retry automatically for up to 36 hours after a transient error is encountered, before this update you could not rerun your workflow until the retries stopped. Now you can take control and cancel these runs immediately.

For any run that’s currently in progress, you can cancel workflow runs on the workflow run details page. You can also cancel one or more runs from the “Recent runs” section on the workflow’s summary page. In addition, when you turn off a workflow, it will now cancel in progress runs.

Once cancelled, you can rerun the workflow with any fixes made to your workflow. This gives you faster feedback loops when building and testing automations, and ensures failures don't block your workflow development.

For more information about building templates, visit the documentation. For questions and feedback, visit the Shopify community.

Back to blog