When trying to delete a business process flow, sometimes the operation fails due to dependency. However when end user click the dependency list, it shows no entry.
For each business process flow, there is a backend bpf entity. When business process flow gets deleted, the bpf entity would be deleted as well.
It is possible for dependencies to exist between the BPF entity and other components in the system(e.g. a lookup field on Account refers to the BPF entity). In such cases an attempt to delete a BPF will fail due to such dependencies blocking the delete operation.
End user can check whether such dependency exists for the bpf entity. If so the dependency need to be resolved before deleting the bpf.
- Navigate to Settings -> Customization and then to the BPF entity. Try deleting the BPF entity. The delete will fail as expected, but at this point you will be presented with a list of dependencies that need to be resolved before deletion is allowed.
- Resolve these dependencies.
- Try to delete the business process flow again.