This blog provides steps to clean up a failed task/workflow in VMware Cloud Foundation SDDC Manager.
Find the failed task/workflow ID in the SDDC Manager UI. This can also be found from the various logs (depending on which type of operation it is)
1. Click on the failed task/workflow.
Record the UUID in the URL field above. This is the ID of the task to be deleted.
Log in to the SDDC Manager VM as the vcf user and then issue su - to switch to the root user.
Issue a command similar to the following to delete the failed task/Workflow:
curl -X DELETE http://localhost/tasks/registrations/<ID OF THE FAILED TASK>
Validate that the failed tasks are removed from the SDDC Manager UI now.
Further Reference Doc:
How to remove a failed workflow in VMware Cloud Foundation