Article published on the 13th of April, 2023.
The contents of this article may be subject to change due to ongoing development of WorkPoint Automate.
The Compress to ZIP file step can be used to compress multiple files into a ZIP file and store it in a library in WorkPoint.
An example of use of this step could be to compress multiple large files into a single ZIP file with a smaller file size than the combined individual file sizes.
A process for this purpose is exemplified in the image below:
The following image shows some of the options for the Compress to ZIP file step:
Step specific properties
Parameter name | Type | Required | Description |
---|---|---|---|
Options | |||
Destination business module | String | Yes | Use this field to define the business module of the entity on which the resulting ZIP file should be stored. |
Destination entity |
String | Yes | Use this field to define an entity on the selected business module on which the resulting ZIP file should be stored. |
Destination library |
String | Yes | Use this field to define a library on the selected entity to store the resulting ZIP file in. You can type in the name of the library, or select one from the process context, e.g., the library from a "Select library and folder" step. |
Destination folder |
String | No | Use this field to define a folder in the selected library on the selected entity to store the resulting ZIP file in. You can type in the name of the folder, or select one from the process context, e.g., the library from a "Select library and folder" step. |
Output exists behaviour | String | Yes | Use this field to define what should happen if a ZIP file with the same name as the only you are trying to create already exists in the same location: • Cancel: Cancel the creation of the ZIP file action. • Overwrite: Overwrite the existing ZIP file with the one created by this step. • Rename: Create the ZIP file with a numerical value appended to the end of the file name. |
Add index | Boolean | No | Use this field to add an index file to the created ZIP file. An index file is an html file which contains information about which files were originally combined into the ZIP file when it was created by this step. |
Add source information | Boolean | No | Use this field to add source information to the index file. Adding source information will add a link to each item combined into the ZIP file to the index file. |
Comments
0 comments
Please sign in to leave a comment.