Last activity: 30 Mar 2017 7:34 EDT
Loop in Java step
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.