To delete an active process, you must first deactivate it. You can’t delete process versions with an Active status. If another process references your invocable process, you can’t delete the invocable process. If a process has any scheduled actions, it can’t be deleted until those pending actions have been executed or deleted (https://help.salesforce.com/articleView?id=process_delete_instance.htm&type=5).
In Setup, enter Builder in the Quick Find box, then select Process Builder.
Next to the appropriate process, click to view all versions.
For the version that you want to delete, click Delete. If your process has only one version and you delete that version, the entire process is deleted.
Click OK.
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.
Greetings to you!
To delete an active process, you must first deactivate it. You can’t delete process versions with an Active status. If another process references your invocable process, you can’t delete the invocable process. If a process has any scheduled actions, it can’t be deleted until those pending actions have been executed or deleted (https://help.salesforce.com/articleView?id=process_delete_instance.htm&type=5).
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.
Thanks and Regards,
Khan Anas