Archive

A service for archiving files.

Parameters

ArchiveStringThe location where to create the zip archive (full file name, e.g. "C:/directory/myArchive.zip") on the file system
FilesList<File>The list of files that should be included in the archive

Results

Handler

org.jbpm.process.workitem.archive.ArchiveWorkItemHandler

Creates a ZIP archive on the given location, where each of the files in the list are added to the zip archive with the same name as the original file (not taking any directory structure into account).