Hi,
I need your help. I saved the attachments from the emails and I need to open only pdf files.
Can you help me, please? Thanks!
Download uipath.directorysearch.activity package in that you will find Get Files Activity and in properties maintain the type of File as *.PDF
Regards,
A Manohar
Hello,
-Save all the email attachment files into one folder
-Use Assign Activity name it has Input_Files = System.IO.Directory.getfiles(“yourpath”,“*.pdf”)
-Assign to system String
-For each activity
-input_files do pdf activity whatever you want
Cheers @BID
I saved all the documents in a folder, but I don’t understand how to make me open only what is pdf
Hi @BID
Please try the given custom activity which helps to return specific file type based on LIFO or FIFO order.
https://go.uipath.com/component/file-picker
@BID
1.Use for each activity…
Directory.getfiles(YourFolderPath,“*.pdf”)
2.Then Use Start process activity to open pdf file.
1.Now use For each activity–>file in filesList
2.use start process and give .exe application name of pdf,in arguments give the name of file as file.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.