function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ExploreForceExploreForce 

Automatically "Archive" an event

In the application, I need to automatically “archive” an event once it becomes 3 months old by setting its status to “Archived”
What is the best way and how to achieve this?
Pls help!

CheyneCheyne
You could do it with a workflow rule, with a time trigger on the Event. Your time trigger could run 90 days after the Event Date. Unfortunately, you can't set the timimg based on months, but 90 days should be pretty accurate. Once you create the time trigger, you can attach a workflow action to it; in this case, you would use a field update which would update the status to "Archived".