Pega For loop using data transform.

Hi Members,

Can any one tell me how to do for loop using data transform, in which you know your upper limit, and lower limit in 1. we have to fire api in each loop.

We do not have a pagelist or any thing we have to fire this API in each to to achieve pagination for each pages in Pega.

@Soham_Chanda1107

Why don’t you try a “while” or a “do while” loop using recursion in data transform. Basically calling data transform dt1 from dt1 again based on a condition and update the terminating attribute (condition) at the end of the processing so that the loop doesn’t go on forever. Hope that helps.

@Soham_Chanda1107 adding recursive call for this DT with proper index calculation solved it.

@SoumyajitB I have tried the same,I could able to achieve the scenario.