Bot loosing focus inside a For Loop


#1

Hi ,

I have a nested for loop, the Bot looses focus after the second forloop.Unable to bring back focus even with a Mouse clip on a image.







#2

@APadmanabhan3 - please give us the screenshot of your flow and tell which application or website are you automating


#3

Hi ,

Please find attached the screen shots, I am trying to Automate Item creation in Oracle Ebsuiness suite forms(https://en.wikipedia.org/wiki/Oracle_Forms)

Regards
Ajay


#4

You have 3 For Each nested loops - this cannot be applied to 2D-arrays (Table type)


#5

Thanks, was trying to do the below steps

a) Loop by Row
b) Select Column1 of Row1 to Variable Item1
c)Select column2 of Row1 to Variable charval
d)enter Item1 in field1 and Charval in field2

Please let me know if any other method to achieve this without using for loop.could not find any other dynamic variable assignment option.


#6

@APadmanabhan3 - please see this link - https://kb.workfusion.com/display/RPAe/Loops#Loops-ForEach

To grab a value from a row, use the Index option. The overall code will look like this:

For Each (item) in (newtab) Table
    Enter Keystrokes (from variable 'item')  //  item has Index = 1 (or other number depending on the column order)