Pega Count Iterations In Data Transform



 


In Parameters Tab of Data Transform Rule Define Parameters of Type Integers

CounterCRSP        Data Type = Integer            Default Value = 0

CurrentCountCRSP         Data Type = Integer        Default Value = Not Required



Now In Definition Tab of Data Transform Rule


1) Set  Param.CounterCRSP           equal to     Param.CounterCRSP+1

2) Set  Param.CurrentCountCRSP    equal to   Param.CounterCRSP



We can use above logic inside Flow where we are looping one or multiple assignments based on conditions.


Thanks,


Comments

Popular posts from this blog

Frequently Used Date Expressions In Pega

pxSubscript and pxListSubscript Properties In Pega

Email Sending Activities In Pega