The Archive Action works with compressed files. It can be used to backup log files, as in the following example, although compression can be used when sending attachments via email when saving space on servers, and so on.
Workflow 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.
It is usually used for debugging and not recommended for production environment.
With the compression facility, you can compress items and decompress them as required. The location of the zip file and the files to compress are specified, as illustrated below:
After execution tab
Specifies which variables will be set once action execution is completed
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)