Description:
This step Zips the file or folder to a destination file path.
Inputs
- sourceFolder - Source file or folder
- destinationFolder - Destination folder path
- zipFileVarGlobal - Variable/Global that holds the Zip file path
Returns
- True – True condition
- False – False condition
Usage:
Example:
Let’s build and execute the zipFileDef example.
- Create a new definition called “zipFileDef”
- Select the definition and click the “design” button
- Drag a "zipFile" step from the toolbox
- Connect the dots between the steps as shown in the above graphic
- Create a variable/global to hold the file path
- Click on the “zipFile” step to configure its properties. Provide the file name or folder path information on the FlowWright server.
- Save the process definition, create a process instance, and execute. Render the completed process instance to view the step properties. The step should have ZIPped the file to the destination folder path with auto-filename-datetime.zip format. The variable/global stores the Zip file path.