How to read all PDFs in a folder

Hi all,

I am using this code in an assign activity “Directory.GetFIles(Folderpath,”*.pdf")" to read all the pdfs in a folder but an error occurs. “Can not assign code to variable”. How do I solve this?

@anonymous3 - Here StrArrPDFs is String Array variable.


Hope this helps…

Hi @prasath17 ,

my variable type is array of string already.

@anonymous3 - Could you please show the screenshot of the code and the error??