Question3Replies629Views JonnyGar Member since 2009 91 posts BNY Mellon Posted: 5 years agoLast activity: 5 years 4 months ago Closed Purging just one caseRelated to Archive/Purge Errors... is there a way to purge just one case? I could dig through the archive & purge facility (but I don't quite have the time right now)Sure, this could be done in the database, but, within Pega:You could automatically cascade the deletes related to caseYou could audit the deleteYou could throw into a flow if you wanted...***Updated by moderator: Marissa to close post***This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post. System Administration ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 5 years agoPradeepRaghuram_GCS PEGA replied to JonnyGarJon,you can also try running this code below to purge a case in question (PEGASAMPLE W-1 below)java.util.HashMap keyMap = new java.util.HashMap();java.util.HashSet set = new java.util.HashSet();set.add("PEGASAMPLE W-1");String key = "ItemLists";java.util.ArrayList values = new java.util.ArrayList();values.add(set);keyMap.put(key,values);com.pegarules.generated.pega_procom_archivepurge.purgeItems(tools,keyMap); Posted: 5 years agoJonnyGar BNY Mellon replied to PradeepRaghuram_GCSawesome, thanks. I was going to look there. This is another utility which is sorely needed, and it just takes time to whip up, review, add the proper controls, and promote. Posted: 5 years agoJonnyGar BNY Mellon replied to PradeepRaghuram_GCSok, l looked at the purgeItem and I don't see that it actually handles attachments, history, etc.