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
Shannon.ax1730Shannon.ax1730 

Exceeded my case workflow limits, need to write a trigger to send an email!

I need the workflow to send an email, record a task event, and perform a field update on a Case.

 

The formula is:

 

OR( today() - DATEVALUE(Contact.Last_Survey_Sent_Date__c) >= 90,isBlank(Contact.Last_Survey_Sent_Date__c)&& IsClosed)

 

Please help...I have been at this for weeks! Finally got it where I want it and I exceeded my limits.

 

Thanks again!

 

Shannon

KrishHariKrishHari

Who are your recipients for your email? If the recipients are your users, then you might want to use the user id (for e.g. owner of the case). Sending emails to regular email addresses count against the limits, while sending emails to user id's doesn't. Check out the workflow email limits and and apex governer limits for more information.

Shannon.ax1730Shannon.ax1730

The recipients are customers. Each time a case is closed and the contact has not been sent a survey within the last 90 days, they get the survey email. In the beginning, we could be sending quite a few emails per day, but it would not be in mass.

 

Thanks,

 

Shannon