Skip to content

ZIP Add File

Type: zip-add-file  ·  Package: ZIP Activities v1.0.0

Adds a file to an existing ZIP. If the ZIP does not exist, it creates it. Useful for accumulating files in the same ZIP throughout a process (for example, within a loop).

Add the filePath file to the zipPath ZIP. By default, inside the ZIP it remains with its original name; with entryName you can give it another name.

ParameterEditorDescription
zipPathexpressionZIP file path.
filePathexpressionFile to add.
ParameterEditorDescription
entryNameexpressionName inside the ZIP. By default, the file name.

Accumulate generated files in a single ZIP:

For Each items = = clientes itemVariable = cliente
└─ activities:
... generar el PDF del cliente en rutaPdf ...
ZIP Add File zipPath = "C:/envios/lote.zip" filePath = = rutaPdf