The Decompress Workflow Action is a valuable tool designed to handle the extraction and management of compressed files within a workflow. This action simplifies the process of retrieving and restoring original files from compressed formats, enabling users to access, edit, and manipulate data that has been previously archived or bundled. By automating the decompression process, the Decompress Workflow Action enhances productivity, especially when dealing with large datasets, backups, or file archives that need to be quickly restored.
Supported decompression formats
Zip archive (.zip;.jar;.ear;.war;.cbz;.apk;.wsz;.wal;.xpi;.crx;.dfsz;.pcv;.bsz; .mskin;.wmz;.ipa;.docx;.xlsx;.pptx;.sxw;.sxi;.sxt;.sxd;.sxc;.sxm;.sxg;.stw; .sti;.std;.stc;.odh;.odd;.odt;.odm;.ods;.ots;.odg;.otg;.odp;.otp;.odf;.odb)
QEMU Copy On Write archive (.qcow;.qcow2;*.qcow2c)
GUID Partition Table archive (.gpt;.mbr)
RAR v5 archive (.rar;.r00)
IHex archive (*.ihex)
Help 2.0 archive (.hxs;.hxi;.hxr;.hxq;.hxw;.lit)
Metadata tab
The Write Variables option ensures that the “Package Action” logs the variable values into the “Action vars before log file” before the action is executed and logs the updated variable values into the “Action vars after log file” after the action completes.
This option is typically used for debugging and is not recommended in a production environment.
It can be globally disabled through the
options dialog
.
Parameters tab
N Value Parameter
The meaning of N Value parameter depends on Which File Parameter
When Which File Parameter is equal to “Files Not Older Than N Days” N Value is Days
When Which File Parameter is equal to “Files Older Than N Days” N Value is Days
When Which File Parameter is equal to “First N Found Files” N Value file number
When Which File Parameter is equal to “Bigger Than N Bytes” N Value is byte
To minimize potential issues, avoid using mapped drives and opt for the UNC (Universal Naming Convention) path instead. Mapped drives can lead to problems with accessibility and permissions, especially in networked environments or automated processes. UNC paths provide a direct, reliable way to reference network resources without relying on local drive letters, ensuring better stability and consistency across different systems and users.
Variables tab
The Variables tab defines the variables to be updated during the action’s execution.
Tip: double click on the variable name to disable/enable it
Execution log tab
The Execution log tab is populated after the action is executed. Double click on the row to view the log.
Example dynamic zip archive
Pascal
Script
begin
Result:='c:\support\'+LeftString(GETSYSTEMVARIABLE('SYSTEM_DATE'),8)+'.zip';
end;