IFC Files Retention app allows to automatically delete files thatare tagged with a collaborative tag and have a certain age.
Example
After installing the Retention app as described in Installing and Managing Apps navigate to the configuration and locate the Workflow settings.
The rule from the example will delete all files tagged with Temporary file
after 14 days.
Common misconfigurations
Public collaborative tag
Similar to Files access control retention should use restricted
or invisible
tags. Otherwise any user can remove the tag and the file is not removed after the givenperiod. Use Automated tagging of files to assign such tags to newly uploaded files.
File age
Currently retention is based on the creation date of the file. The sync client sendsthe original creation date to the server, while uploading through the web interface will create a new file with a new creation date.We hope to be able to add a upload date
to the filesystem soon, which would make moresense. Until then this potentially unexpected behavior has to be taken into account.