We have hit the limit for approval processes. There are inactive ones which can be deleted but we can't delete it without deleting the associated records. Is there a way to delete only the approval history records?
What problem are you running into while attempting to delete approval history records? Can you elaborate more on what you have tried so far?– arutDec 8, 2022 at 11:14
@arut when deleting an approval process, it's associated records must be deleted also. we're trying to find a workaround for this by deleting the approval history records. I've only tried it with querying the records in the dev console and deleting from there but it came back with insufficient privilege error.– sforceDec 9, 2022 at 0:57
Unfortunately, you cannot delete approval history records. Kindly review limitation here.
Also, you can only delete an inactive approval process that has no data records associated with it.