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.

Definition Sample:
You may download the ZIP file and extract the sample definition(s) from the link here and later import it (drag-drop) to your FlowWright Process Definition (XML file) or Form Definition (HTML file) page.
NOTE: Please verify and complete the process steps for any missing configurations, such as file path references and database connections after import. Then, save the definition to confirm the changes.