Question

12
Replies
3760
Views
TSUCK Member since 2010 126 posts
PEGA
Posted: June 12, 2017
Last activity: June 12, 2017
Closed
Solved

How to forcibly close all open cases in a system

Hi,

I want to withdraw all open cases in a system. There is an out-of-the-box Process API called "pxForceCaseClose" and I am trying to utilize this. Below is overview and please see detailed code and trace in the attached excel file.

1. Obj-browse to create a page list (tempPage) of open Work instances

2. For each embedded page (tempPage.pxResults), call pxForceCaseClose activity to withdraw

Is above idea wrong somehow? I thought this is pretty straightforward but PRPC is throwing a java.lang.NullPointerExcepction. Why is this and how am Isupposed to do this requirement?

Thanks,

Data Integration Java and Activities
Moderation Team has archived post
Share this page LinkedIn