Purging just one case
Related 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 case
- You could audit the delete
- You 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.
Jon,
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);