Question

12
Replies
4008
Views
Close popover
Kensho Tsuchihashi (KenshoTsuchihashi)
PEGA
Project Delivery Leader
Pegasystems Inc.
JP
KenshoTsuchihashi Member since 2010 137 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,
Close popover 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.