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
St57 MSt57 M 

Email Alert

Hi,

How to send email to the particular Account after 5 days based on Opportunity phone number is notequal to null.

Ex: Suppose i have created  Account date is 1/2/2013 and opoortunity phone number is notequal to null ,finally  email to be  send to Account owner like this date 5/2/2013.

it's not working using workflow,it is possible using shecdule apex so if any one know the schedule apex could you please help me.
ShashForceShashForce
Please see this documentation with simple explanation of how to use the 'schedulable' interface to run apex at specific times daily: https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_scheduler.htm

The rest of the logic should be pretty straight forward.

Thanks,
Shashank
MagulanDuraipandianMagulanDuraipandian
http://www.infallibletechie.com/2012/05/apex-scheduler.html

If this solves your problem, kindly mark it as the best answer.

Regards,
Magulan
http://www.infallibletechie.com