I have a use case where i have to download all the attachments from outlook into a folder.
Now,
1.I have to check if there is any zip folder form the downloaded files from downloaded folder.
2. If there is any zip folder i have to extract into downloaded folder where remaining documents are saved.
Now my doubt is how to get only zip files from the folder.
Please help me, Thanks in Advance
Hi @PrankurJoshi i have to get all files folder while getting all files if there is any zip files i have to extract if not there i have to work with other documents
In the below image i am able to get the extension and able check the if condition, now how to pass that particular zip file path to the activity in properties folder
In your workflow, the “GetFiles” array contains the full path of each files in your specified directory and you gave each string name as ‘File’ in the for each loop. So You can pass the source file path for ‘unzip file’ activity and path for ‘delete’ activity as “File”.