Hi, here I was unable to automate the files in for each . Could someone help me out with this.below is the image reference.
Here , I was looping each and every file in that folder and trying to extract some text from each pdf file. But when I run the bot, it is not entering the for each. I find that by debugging it.
@Pushpendra_kowthavarapu
Still, you’re facing an issue with the above one.
Find this Activity
Regards,
Prasanth Kumar Manivannan
Battlebots!!
means there are no files in that folder
Thats why its not going into the for each
or use assign activity and pass the expression
arr_files=directory.getfiles(“Folderpath”).toarray
arr_files is the variable of type array of string
Still same not able to loop the files.
Can you click on the for loop radio button of “List of items” and share the ss?
Now it’s working with the for each file in folder activity . But getting this syntax error in start process.
if you still face issue by the above method
try to delete the activity and try with new activity
Thanks bro ,it’s working now.
but when extracting the text from pdf , it’s throwing the error as returned empty text.
if you want to extract the data from the pdf use
read pdf text activity
and use regex/String manipulations to extract the text which you want
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.