Question

4
Replies
2994
Views
TSUCK Member since 2010 125 posts
PEGA
Posted: 3 years ago
Last activity: 3 years 7 months ago
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
Share this page LinkedIn