AX1384
Automatically deleting file output generated by file processing
If file processing creates an output file—such as when using snapshot or export file processing—then you can configure the file processing settings so that the output file is automatically deleted after a certain period of time. Using this feature can help prevent a buildup of outdated files from regular executions of file processing.
NOTE: This feature only applies when saving output files to the Axiom repository. Axiom Software cannot automatically delete files that are saved to a file share outside of Axiom Software.
In the File Processing task pane, you can use the Purge Setting to configure output files for automatic deletion. Clicking the pencil icon brings up the Choose Date dialog, where you can select either of the following:
- Static purge date: Select the purge date from a calendar. Files will be deleted after the specified date has passed.
- Relative purge date: Specify the number of days to keep the output after it has been generated. The output will be deleted after the specified number of days have passed.
Example Choose Date dialog
How the file output is purged
When file processing is executed, the output files are stamped with a purge date according to the configured purge setting. For example, if the purge setting is 20 days and file processing is executed on 12/1/2019, then the stamped purge date is 12/21/2014. Files are eligible to be purged after that date, in this case starting on 12/22/2014.
The file deletion is performed by the System Data Purge job in Scheduler. This is a system job that runs periodically to purge old data and files from the Axiom Software database. When the job runs, if it finds files that are eligible to be deleted based on the stamped purge date, then it will delete those files.