I was looking for some help in here. I’m trying to complete my automation but I’m stuck at this point.
I need to figure out the following: my bot needs to read one line within all the PDF files located in a directory (the number of PDF files will be variable every time). Subsequently, all the values extracted from those PDF files must be written in one column of an excel workbook, one value (or one PDF file extraction) in every row of the the same colum (i. e. Value 1 pasted in the cell A1, value 2 pasted on the cell A2 and so…).
The main reason is: you try to access an array element that does not exists - you have reached the end and count beyond your array element.
There can be many reasons. More insight in the workflow would be helpful
My guess is yout do [count = count + 1] and then put your array element in the DataTable.
do it reverse: arrayelement(count) > write to excel > count = count + 1
You can try to debug it with UiPath fantastic debug options, Good training also. With that you find the cause in no time
What I’m trying to achieve is to scrape specific data from different pdf files and then write that range in an specific cell in an already existing excel file (this scrape process will complete an excel file to become a database).
Could you please explain what do you mean with this action? arrayelement(count)
What activities do I need for this?