First of all; I just started my RPA journey and have no previous experience with programming. That said I find it very interesting and hope to some day be able to contribute to this community. I would be forever grateful if someone could help me out with my problem.
I am trying to create the following process:
I have a folder with a bunch of documents (“Data/Input”). Some are .pdf and others are .doc/.docx. I want to be able to read all of these documents and search for some specified keywords. If there is a match in the document for the specified keyword(s), I want to save the file into another folder.
To make it easy to change the keywords I would preferable like to store the keywords in a Config file.
So far I have been able to get the files, but as there are different activities for reading PDF and .doc/.docx i tried see if the string contained .pdf or not, and based on that tried to use the correct activity. For some reason, it thinks that non of the files contains “.pdf”. Furthermore, I am struggling to find out how to proceed based on this information - how can I select the correct files to read (pdf/word).
Again, it someone could help me out that would be really great.
Test.xaml (9.9 KB)