You need to sign in to do that
Don't have an account?
❤Code
dynamic email template
Hi All,
I have a requirement where i have a custom object O1 which is having field f1, f2, f3, f4 and I have an email template. When ever a field value is changed i would like to trigger an emailtemplate stating "(f1.OldValue) has been changed to (f1.NewValue)" of that field only. And if there are no change in other fields then the mentioned statement shouldn't appear.
Can anyone tell me the approach.
Regards
I have a requirement where i have a custom object O1 which is having field f1, f2, f3, f4 and I have an email template. When ever a field value is changed i would like to trigger an emailtemplate stating "(f1.OldValue) has been changed to (f1.NewValue)" of that field only. And if there are no change in other fields then the mentioned statement shouldn't appear.
Can anyone tell me the approach.
Regards
Second you can create email templetes you want and by code you can provide Id of email templte when sending email to decide the template.