Question
4
Replies
58
Views
Posted: August 5, 2020
Last activity: August 5, 2020
Completely delete the created case from the application
Hello.
I want to delete the created specific case from the application,not withdrawing the case.
Is it possible to do this with Pega?
I would appreciate it if you could teach me how.
Thank you.
Hi,
You can write activity with the Obj-Delete-By-Handle method . Run it standalone and pass the pzInsKey of the case you want to delete from the parameter.
If you want to delete multiple cases, you can do Obj-Browse, Loop, and call Obj-Delete-By-Handle.
Here is the sample Activity which I use.
You can call pxForceCaseClose to resolve and cleanup assignments before deleting it.
I hope it helps you.
Good Luck!