Question

1
Replies
7943
Views
Close popover
Zishan Ali Khan (_ZishanAliK)
The Bank of Nova Scotia

The Bank of Nova Scotia
CA
_ZishanAliK Member since 2016 1 post
The Bank of Nova Scotia
Posted: November 28, 2017
Last activity: November 30, 2017
Closed

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***

Data Integration
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.