Dynamic selector with arithmetic operations

In selector i have used a Variable to indicate the element. My question when i use selectore as {Cnt + 1} element is not found.

image

What i am trying to archive is add 1 to the value in selector. I know i can use a different variable that has the correct value. But do not wish to have a separate variable just for that.
Is this possible in UIPath

@smitha_1989 You can not do a arithmetic operation if you are using choose variable/argument.
First you need to set the value by assign activity then pass variable into selector

But if you still want to use a variable like this then refer below answer.

@smitha_1989

I believe this will not work, as the dynamic selector will accept the values of the variables / arguments, It will not allow any arithmetic operations

Hope this helps

Thanks