Discussion

2461
Views
DorottyaSz Member since 2017 1 post
Saltech Consulting Kft.
Posted: 2 years ago
Last activity: 2 years 2 months ago
Closed

Using < CURRENT > keyword in a nested for-each loop

Implementing "For Each Page In" inside another for each in a data transform doesn't handle the outer loop's indexing. The <CURRENT> keyword references the most-inner loop's Param.pyForEachCount value and ignores the other ones.

Workaround:
In the outer loop set the Param.pyForEachCount value to a param and when needed use the newly created param for indexing.

Pega Academy
Moderation Team has archived post
Share this page LinkedIn