Question
The Bank of Nova Scotia
CA
Last activity: 30 Nov 2017 0:36 EST
How do we loop through a ValueList in a Data Transform and map it to a property in a PageList?
We have a requirement where we need to loop a pagelist the same number of times as a given valuelist and also set a certain property in the pagelist with the value of the valuelist (incrementally). For example if you have a ValueList of employee names and you want to append and map to a pagelist Called EmployeeList and set EmployeeList(<CURRENT).Name = ValueList(1).
I can easily do this by using ForEach in an activity but I want to know what's the Pega Best Practice to accomplish this in a Data Transform.
***Editd by Moderator Marissa to update categories***