Delete Investments job fails with a PRJ-07536 Error Due to a Unfinished Process on the Investment
Article ID: 94955
Clarity PPM On Premise
The Delete Investment Job fails in PPM with error message: PRJ-07536: An error ocurred while attempting to delete one or more projects in the background scheduler. Please, refer to the log for details.
Looking in the bg-ca.logs, there's an error similar to "com.niku.union.odf.exception.ODFException: Exception when trying to delete processes for Risk with PK: 5000000.1 with Caused by: com.niku.union.utility.MessageKeyException: BPM-0200: The object being deleted is associated with an unfinished process instance."
This can happen if there is still a running process on the project when the job is run.
Cancel the process that is still in progress on the project (or wait until it completes if applicable). If unsure which object or project the process is associated with, the error in the bg-ca.logs can help point to the impacted object type and project.