PDF file in use does not allow to move folder and gives error
-
help, I'm reading a folder with more than 50 PDF files and saving its content in text to deal with later, after reading I move to another folder, some files when OPENRPA move after reading it gives an error and says the file is in use , I tried to put a waiting timer of 20 seconds or more, even so, sometimes it gives the same error... how can I solve it?
-
@kleber-paduano Solved! use invok code for VB e use ty try catch
-
@kleber-paduano
If you are getting an "item in use" error doing the move, catching the error does not fix it, it just makes the workflow continue.
How are you reading the text ? Are you using openrpa's "read pdf" or did you use some other way of doing it ? -
@allan-zimmermann said in PDF file in use does not allow to move folder and gives error:
If you are getting an "item in use" error doing the move, catching the error does not fix it, it just makes the workflow continue.
How are you reading the text ? Are you using openrpa's "read pdf" or did you use some other way of doing it ?I'm using readpdf from openrpa, I put a longer time out to try the reprocessing in 5 minutes... it tries again to move the pdf and it has worked.
-
@kleber-paduano
can u pls share it for ref. moving files -