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
neeruneeru 

Email alert for employees

Hi

 

i have a position object and employee object,when a new position is added my employees has to get the email

 

for that i am using the workflow with email alert action.now for every day i am getting 10-15 new positions and accordingly my employees getting 10-15 emails....is there any way to get a single email with all 10-15 position details..

Hengky IlawanHengky Ilawan

Hi,

 

You can write a schedulable apex class. And schedule it to run at the end of the day to send email to the employees in a digest format.

 

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_scheduler.htm

 

Regards,

Hengky