Question

4
Replies
3270
Views
Close popover
Kensho Tsuchihashi (KenshoTsuchihashi)
PEGA
Project Delivery Leader
Pegasystems Inc.
JP
KenshoTsuchihashi Member since 2010 137 posts
PEGA
Posted: March 14, 2017
Last activity: March 30, 2017
Closed
Solved

Loop in Java step

Hi,

I have a work class of MyCo-MyApp-Work-PurchaseRequest and have a recursive page list property that points to the same class. Also I have a single property "Location" and we can populate either Tokyo, Boston, or London for this property from screen.

Now we have many work instances in the database and want to make an activity to constructe a page list of PurchaseRequest instances whose location is all Tokyo, and contains a page list of all Boston inside. For this, I am using double LOOP with <CURRENT> but somehow, I am getting wrong results. Please see attached for details and indicate what is wrong with my code.

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.