I am working on a scenario in which I have to classify the documents placed in shared location. I want to develop a workflow that opens that specific shared folder and the open the year 2021 folder, in which there are subfolders having DDMMYYYY name format i.e. 01 august 2021. I want to open DDMMYYY folder and classify the required documents out of a documents pool. And then placed the classified documents to the specific folder. I have to repeat the same process for multiple folders having the DDMMYYYYY format.
I have already classified the documents paced in one folder by get.Directory method. But I am confuse with the folders and subfolder scenario.
Any help in this regard will be highly appreciated.
Following the solution you have provided. I have reached in the folder 2021. There are many subfolders as the screenshot is attached. I get into the specific subfolders like I have mentioned above, and classify the documents by using classifier. After getting classified files from the specified subfolders I want to write the classified and unclassified files name and path to the excel sheet.
That’s the whole scenario…
I hope you have got my point.
I have implemented your model. It worked perfectly and get me the pdf files out of the directory.
I have one more question regarding the workflow…
Once I have entered in folder 2021 after that there are multiple folders like 1 JAN 2021, 3 Feb 2021 and so on. Once I have entered in the 1 Jan 2021 folder which is the first folder of the directory 2021, there are many subfolders in it. I want to fetch pdf files from the specific folder in the 1 JAN 2021 which is having naming convention like this 5555ABCD. After reaching this specific folder I want to put the classifier, and write those classified files to excel.
Any help in this regard will be highly appreciated…
The folders are placed in the 1 jan 2021 folder. The 1 jan 2021 folder is present inside 2021 folder.
The folders that are showing in the image contains multiple pdf and .jpg files.
I want to classify the 5555ABCD folder files. After classifying I want to move the classified files to any temp folder on the system.