In this article
The DocumentStore cleanup task will delete all document versions that are marked as expired. Version expiration is set based on the system configuration setting "MaxSurveyVersions". The latest x (MaxSurveyVersions) will be kept; the rest will be marked as expired (and thus cleaned whenever the DocumentStore cleanup task runs).
Figure 1 - The DocumentStore Cleanup overlay
- Batch size - defines how many versions will be deleted every time the task runs. So if you have 50 000 expired versions and the batch size is 1000, the cleanup task will delete 1000 versions and then stop.
- Verbose - check to get details of individual records that have been deleted. For example:
If Verbose is not activated -
- 1000 records deleted
- 2000 records deleted
- 3000...
If Verbose is activated -
- p1347856284 v13 has been deleted
- p1237495869 v7 has been deleted
- etc.
Note that Verbose is useful for trouble-shooting, but can quickly lead to very large task logs.
- Resource collection names - defines what will be deleted. I.e. Survey layouts and/or projects.
- Start Time - defines when the task is to run. Select Schedule for later execution to set up a recurring task.