Question

1
Replies
7619
Views
_ZishanAliK Member since 2016 1 post
The Bank of Nova Scotia
Posted: 2 years ago
Last activity: 2 years 10 months ago
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
Share this page LinkedIn