I have a repeating group with some fields on them.

To achieve this I'm makeing a rule wich executes always which gets the value of a static global counter and adds 1 to it. But It failed as it is executing on multiple threads.

I also tried a service field but there is no data source for this purpose.

So, I need some way to export as a field the index of the group inside the section.

 

Thank you very much.