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
S Babu.ax1883S Babu.ax1883 

batch apex class

Question:- An Email notification should be sent to Inbox when Active = True, and Expiration Date is one week from current date.
Please help me how to write batch apex class for the above requirement?
Boris BachovskiBoris Bachovski
Why don't you create a time-based workflow instead and use email templates?