Zip Workflow Operation

ID: zip


The zip oeration creates a zip archive including all elements of the current media package that are specified in the operation configuration. It then adds the archive to the media package as an attachment with the given flavor and tags and by default stores the zip file in the working file repository's "zip" collection.

Parameter Table

configuration example description default value
zip-collection zips A comma separated list of flavors to preserve from deleting zip
include-flavors */source,dublincore/* Which elements to include in the archive (all)
target-flavor archive/zip The flavor of the created attachment archive/zip
target-tags archive The tags to apply to the attachment
compression true Whether to compress the archive content flase

Additional notes:

Operation Example


  description="Creating zipped recording archive">
    <configuration key="zip-collection">failed.zips</configuration>
    <configuration key="include-flavors">*/source,dublincore/*</configuration>
    <configuration key="target-flavor">all/zip</configuration>
    <configuration key="compression">false</configuration>


- id: zip
  description: Creating zipped recording archive
    - zip-collection: failed.zips
    - include-flavors: */source,dublincore/*
    - target-flavor: all/zip
    - compression: false