Here, an SQL fragment can be used to specify that the archiving process should only run over certain files. Example:
date_sub(curdate(),interval 30 day) > RecordedDate
This fragment causes only documents older than 30 days to be archived.