Help with variables

Hello community, I need your help with the following issue. I have a XAML file that contains a foreach row for a table extracted from an ERP. Inside the loop, I added an IF activity, and inside the IF I placed a Send Hotkey activity that is supposed to cut a text.

Since the text can be in any row, I’m trying to use the index of the For Each as part of the coordinate used in the field selectors. The problem is that when I try to access the index variable inside the IF (which is inside the For Each), it doesn’t appear. Not even when I create it outside the loop.

Has this happened to anyone? Could you help me with this issue?

Thks.

@Rob_Super

You will have to create another string variable as the selector will take string variable only.

As the index variable is of integer it’s not visible in the drop-down selection.

1 Like

I tried it, but it still doesn’t work.

Alright @Rob_Super in that case could you please share more details like the Studio version and the packages you are using. I will try to replicate this.

Meanwhile try upgrading the packages to the latest possible version.

1 Like

@Rob_Super

you can still add the variable directly

in the bottom where yous ee the selector just add tableRow='{{VariableName}}' this should add it

cheers

1 Like

Thank you very much, it worked.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.