How to get current index in for each page loop

How to get current index in for each page loop?

I do not what to use a self defined number increasing by 1 in the loop.

@MaxonL16591286

You can make use of Param.pyForEachCount to get current iteration index value. This is pega ootb parameter..

@Gunasekaran_Baskaran

It works, many thanks!