Change the current row of the activity for each UI Element

Hello!

How do I change the current row number of the activity for each UI Element that is identifying a table? For example, my activity identifies line 0 in the first occurrence, but when it goes to the second it says there are no lines, how do I change this number to a variable with a counter?

@amanda.gondim

inside for each ui element you would use currentelement as input element instead of indicating the element again

cheers

To change the number to variable, create one and at the end of one single for each ui flow you can increment it using assign activity. Let me know if this works