Bulk Deletion of Multiple Embedded Workflow Versions

I would like to request a feature that allows selecting and deleting multiple embedded workflow versions at once.

When developing Embedded workflows, a new version is automatically created on every deployment, even when only minimal changes are made. Over time, this results in a large number of workflow versions being generated.

Currently, these versions need to be deleted one by one, which is time-consuming and makes environment maintenance more difficult. This accumulation of versions can clutter the environment and reduce overall organization and clarity.

In Edge workflows, there is already an option to delete versions that have not been deployed. A similar approach could be applied to Embedded workflows as an alternative solution, or combined with a multi-select option for bulk deletion.

Having the ability to select multiple workflow versions and delete them in bulk would significantly improve the developer experience, save time, and help keep environments clean and well-organized, especially in active development scenarios with frequent deployments.

Thanks for the suggestion. I’ll get that feature request filed.

In Edge workflows, there is already an option to delete versions that have not been deployed. A similar approach could be applied to Embedded workflows as an alternative solution, or combined with a multi-select option for bulk deletion.

This same solution works for embedded workflows; we just aren’t displaying the “Delete Undeployed Versions” button. (I’ll get that fixed.) It uses the Workflow Versions: Delete API endpoint. For edge and embedded workflows, by default this will delete any version unless that version is currently deployed or scheduled for deployment to a device.

The endpoint also accepts a query in the POST body if you want to target specific workflow versions to delete or not delete. The endpoint’s API documentation provides an example showing how to not delete a specific workflow version by name.

1 Like