Cleanup Workflow Operation

ID: cleanup

Description

This operation removes all files from the workspace and the working file repository which belong to media package elements of the running workflow unless their flavor is matched by the value configured in preserve-flavors. It is usually used as last workflow operation in a workflow to ensure that temporary processing artefacts are removed.

Parameter Table

Configuration Key Example Description Default
preserve-flavors security/* Comma-separated list of flavors to be preserved.
delete-external true If files from external working file repositories should be deleted false
delay 5 Seconds to wait before removing files 1

Notes

Operation Example

<operation
    id="cleanup"
    description="Remove temporary processing artifacts">
  <configurations>
    <configuration key="preserve-flavors">security/*</configuration>
    <configuration key="delete-external">true</configuration>
    <configuration key="delay">5</configuration>
  </configurations>
</operation>