Zip

Estimated reading: 2 minutes 2021 views

This activity is used to compress a folder during the execution of a robot. We can zip a file or directory within a shared folder, granted we have access to it.

Properties

INPUT

FileList:* Specify the declared variable name in this box. Refer to the tip below to see how it can be done. It accepts “List of string” datatype.
FileName: Specify the name of the file or folder that you want to zip. It accepts only “String” datatype.
FolderPath: Specify the directory path in which the file to be zipped is located. It accepts only “String” datatype

OverWrite: Check this box if you want to overwrite a file, if it is already available in the path that you have chosen.
By default, it is unchecked. This means if the zipped file which we are trying to save to location is already available there, it wouldn’t get saved in that location.

Password: If there is any password for the zipped file or folder, enter the same here.It accepts only “String” datatype.
SavePath: Specify the path in which the zipped file or folder must be saved. It accepts only “String” datatype.

MISC

DisplayName: Displays the name of the activity. The activity name can be customized, which aids in troubleshooting.

Mode: Choose from the drop down.
File –  Choose this to zip a file.
Folder – Choose this to zip a folder. This is the default selection.

SkipOnError: Specify the “Boolean” value as “True” or “False.”
True: Continue executing the workflow regardless of any errors thrown.
False: Halt the workflow if it encounters any errors.
None: If the option is left blank, the activity will, by default, behave as if “False” were chosen.

Version: It indicates the version of the feature being used.

OUTPUT

Result: It provides the ability to view the execution status of the activity. It returns values in “Boolean.”
True: Indicates that the activity has been executed successfully without any errors.
False: Indicates that the activity has been unsuccessful due to an unexpected error being thrown.

Represents mandatory fields to execute the workflow

Share this Doc

Zip

Or copy link

CONTENTS