Set variable in selector

Hello everyone!
I have selector where " …row = 2…"
I need FOR EACH row - IF row 1 - selector row -2

row 2 - selector row 3

I need counter. But I don’t know how I set my counter in selector?

@RPA3 Use below link


@RPA3
The for each Activity has an Output named Index and you can use for the idx calculation

Bringing dynamics into the selector can be done as following

Hi @RPA3

You can take a Counter variable and start with ‘2’.

Counter=2

FOR Each Row{

Selector(Counter)

Counter=Counter+1
}

This logic might help you if you row1 selector is always starts with ‘2’

Thanks
Latika

1 Like