Dynamic variables

Hi all,

Can you help me with my problem with using dynamic selectors.
i have the following default.

i want the table row to use the variable intCounter + 1.

on uipath’s previous version it can be defined at easy as inCounter+1,
but for the newest studio it doesn’t seem correct to add an integer like below.

Hi @marj0sa

As far as I know, the newest Selector Editor only supports using variable but does not support operating. so you need to edit the variable beforehand.
If you still want to edit the variable in the Selector directly, you can try the way of editing a string like below.
“<webctrl idx='”+(variable1+1).ToString+“’ parentid=‘post_1’ tag=‘P’ />”

whats the error message? can you try (intStopsCount+1).toString?