Files Handling

Zip Archive

This activity extracts files to the folder from chosen .zip file or compresses chosen file(s) to a contracted file(s).

Compression is possible in .zip and .7z formats, while compression with the division into parts only in .7z format. Compressed file can be closed with a password.

Wildcards (?, *) are allowed - you can use an asterisk (*) to replace any sequence of characters, so pattern “*.*” as a last element of file path in Source textbox means that all documents in a given folder will be zipped at once.

Parameter NameParameter TypeIn/OutDescription
ActionDropdownInputselect the action to perform from the dropdown list
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
DestinationStringInputfull path to the file
Destination typeDropdownInputselect the appropriate option from the dropdown list
Display NameLiteralInputyou can change the name of activity for greater clarity of the scenario
Exclude from Transaction CheckBooleanInputcheckbox; default is "off"
FormatDropdownInputselect the appropriate option from the dropdown list
Part size (MB)Int32Inputinteger; choose max size of every part of zipped file (compression with division)
PasswordStringInputpassword (string expression)
SourceStringInputfull path of the file
ResultBooleanOutputreturns the Boolean value: it will return True if no error is in activity, otherwise it will return False
Result CodeInt32OutputResult Code will return 0 if there is no error in activity, otherwise in most cases it will return 1, the extended result code will show only in several chosen activities