Delete a workflow
Delete a workflow to permanently remove it and all of its versions from automation orchestrator. You cannot undo this action.
Before you begin
- You have
workflow:deletepermission in the project that contains the workflow. - Review whether any workflow runs are in progress. In-progress runs continue to completion but lose their association with the deleted workflow.
About this task
Deleting a workflow has the following effects:
- All versions of the workflow are permanently deleted.
- If the workflow has a published version, triggers stop accepting requests and automation orchestrator cancels scheduled runs.
- All execution history for this workflow is permanently deleted. You cannot view past runs after the workflow is deleted.
- The deletion process checks for active (non-terminal) runs and returns an error if any are found. All workflow executions must complete or be canceled prior to deletion.
- Automation orchestrator records an audit event for the deletion. If the workflow had associated versions, each deleted version also generates an audit event.
You can reuse the workflow name immediately after deletion.
Procedure
- From the Workflows page, find the workflow you want to delete.
- Click the options menu (⋮) on the workflow row, and click Delete.
- In the confirmation dialog, review the deletion message and click the I understand this workflow will be permanently deleted checkbox.
- Click Delete to confirm.
Results
- The workflow is no longer displayed on the Workflows page.
- All executions associated with the workflow are deleted and are no longer visible on the Workflow Runs page. However, any audit events for prior workflow runs remain available in your audit log.