You need to sign in to do that
Don't have an account?
Kathlene Capobianco
Is there an Apex code that can allow me to create a workflow to send out emails to the related contacts of an account when the account status changes to Wrapped?
My company would like to send out a customer satisfaction email (template already created) when a job title (account) wraps. In addition to this the account/contact relationship has a check box for "send survey" and we only want the related contacts that have this check off to receive the email.
I tried making a workflow to do this but it won't allow me to pull info from the acount related section.
I'm told there is possibly an Apex code that could make this happen. Does anyone have any suggestions?
Thanks!
I tried making a workflow to do this but it won't allow me to pull info from the acount related section.
I'm told there is possibly an Apex code that could make this happen. Does anyone have any suggestions?
Thanks!
Please check once below sample code :
Hope this helps you!
If my answer helps resolve your query, please mark it as the 'Best Answer' & upvote it to benefit others.
Thanks
Varaprasad
@For Support: varaprasad4sfdc@gmail.com
Please use below code . Make changes in the code as required i.e. change field Names as required, Email Template Name: PLease mark as best answer if helped.
Regards,
Ramakant