The Attached Custom Plugin that will take only .pdf files from a folder and create a zip file from these files.To use this custom plugin follow below steps:
- In Process Flow go to >Repository View>Action>Put-Context-Var.
- In Put-Context-Var activity go to edit and create two context variables FileSourcePath and FileTargetPath . FileSourcePath variable contains the path of the folder for which zip is to be created and FileTargetPath variable contains the target zip path (including the file name ex: E://output.zip).
3. Use attached custom plugin after Put-Context-Var.
4. Set The Generate Stream and Consume Stream as False in the Custom Plugin activity.