Overview
Admin Users may observe lot of tasks "Create files for document preview" in Background Tasks queue in M-Files Admin tool with status Canceled.Tasks "Create files for document preview" are related to setting Create Preview Files After Check-In which is available at Configurations - Advanced Vault Settings - Configuration - File Previews - Viewer Files in M-Files Admin tool. When this setting is enabled, M-Files server creates the preview file for a new or changed file immediately after the file has been checked-in. If the setting is disabled, M-Files server creates the preview file when the user opens the preview tab for the first time in M-Files Desktop.
This feature has been available since January ’22 Update (22.1.11017.2).
Solution
These tasks in background tasks queue will be cancelled in situations where checked-in documents are in queue, those are checked-out again, edited and checked-in.Then preview generations for updated documents are set in queue and the old not-yet-processed task are outdated and therefore cancelled.
