Updated Event Lifecycle: Auto-Unpublishing and Auto-Deleting Logic

This article covers the following topics:
Overview
To streamline event management and maintain up-to-date content, we have updated the event lifecycle logic with two important automation features:
- Auto-Unpublishing: All events will now automatically unpublish immediately after their final scheduled occurrence.
- Auto-Deleting: Events that have been unpublished will automatically delete 30 days later, provided they do not have any future occurrences scheduled.
By removing outdated event data in a timely manner, this process ensures efficient use of system resources while keeping event listings current and relevant.
New Features
1. Auto-Unpublishing After Final Occurrence
Once an event reaches its last occurrence, the system will automatically unpublish it. This means the event will no longer be visible to site visitors but will remain accessible to content editors in an unpublished status for a limited time.
2. Auto-Deleting After 30 Days
If an unpublished event does not have any future scheduled occurrences, it will be deleted automatically 30 days after being unpublished. This grace period allows editors to make any final adjustments or republish if necessary before the event is removed permanently.
3. Two-Day Grace Period for Deleted Events
When a user deletes an event, it will remain unpublished for two days before being permanently deleted. This allows users to temporarily access or republish an event if needed.
4. Automatic Updates for Curated Content
If you're using a curated content component that includes events, those events will automatically be removed once they have ended.
5. Cleaner URLs for Duplicate Titles
Thanks to automatic unpublishing and deletion, you can now reuse event titles from past events without generating duplicate URLs—resulting in fewer URLs ending in “-1,” “-2,” and so on.