You need to sign in to do that
Don't have an account?
vamsi lankisetty
Need support in Dynamic email alerts Reminder
Hi all,
I have created one custom object "Friends_Birthday__c" and also created "DOB__c" field so that i can store my friends birthday in "DOB__c" field. Totally i have created 20 Records.
My scenario : When every my friend Bday is coming nearby with in 2 days of it, i have to get email alert. and it should repeat the same for n number of years.
Example : My friends birthday is on 30th Oct. By 28th oct i should receive email alert about my friends birthday.
Note : I tried this one with Workflow rule and Process builder, here the thing is, it is working static
Ex : Suppose today date is 28 oct and my friends bday date is 30th oct. When i am trying with Workflow and PB, i am getting instant email alerts.
Where as, again i am creating one record as bday date with 31st oct and my expected result i should get email alert on 29th oct. But in reality i am not getting any email alerts.
I am making this scenario as a static one..
Can anyone suggest me solution or with any apex code.
Thanks,
L Vamsi
I have created one custom object "Friends_Birthday__c" and also created "DOB__c" field so that i can store my friends birthday in "DOB__c" field. Totally i have created 20 Records.
My scenario : When every my friend Bday is coming nearby with in 2 days of it, i have to get email alert. and it should repeat the same for n number of years.
Example : My friends birthday is on 30th Oct. By 28th oct i should receive email alert about my friends birthday.
Note : I tried this one with Workflow rule and Process builder, here the thing is, it is working static
Ex : Suppose today date is 28 oct and my friends bday date is 30th oct. When i am trying with Workflow and PB, i am getting instant email alerts.
Where as, again i am creating one record as bday date with 31st oct and my expected result i should get email alert on 29th oct. But in reality i am not getting any email alerts.
I am making this scenario as a static one..
Can anyone suggest me solution or with any apex code.
Thanks,
L Vamsi
Use batch class and schedule to run daily at your suitable time to get the email.