In Kentico Xperience 13, we implemented automated form data cleanup using a custom scheduled task. We extended forms with additional configuration that allowed editors to define a retention period (e.g. delete or anonymize form submissions after X days), and the scheduled task processed the data accordingly.
In Xperience by Kentico, scheduled tasks are still available and seem like a natural fit for recurring maintenance operations such as bulk data cleanup. However, the platform now also introduces the option to build custom automation steps, which could potentially provide a more user-friendly and configurable approach for customers.
I am currently evaluating the best architectural approach for the following use case:
- Allow customers to configure automatic cleanup (delete/anonymize) of form submissions after a configurable retention period
Keep the solution editor-friendly and maintainable
Align with recommended Xperience by Kentico patterns and long-term platform direction
My questions:
Do you consider scheduled tasks still the preferred approach for this type of recurring, system-wide data maintenance?
Has anyone implemented a similar solution using custom automation steps, and if so, how well does that scale for bulk form data processing?
Are there any recommended patterns (or pitfalls) when choosing between scheduled tasks and custom automation steps for data retention scenarios?
Any experience, guidance, or architectural insight would be greatly appreciated.