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
Tejpal KumawatTejpal Kumawat 

How to send an email to Account owner's manager thorugh workflow

Hi Guys,

I have one custom object in which lookup of Account and one checkbox. when it is true then i need to send a mail to Account owner's manager. How to its possible please let me know? 

Suresh RaghuramSuresh Raghuram

Do u have any field to identify the Account owner's manager, If all the data is available on the same object you can write workflow. else you should use the Trigger.

I would suggest that you create an email field on this Object and don't make it visible on the page layout. Then write a trigger on this Object and say whenever it is created or edited then get the Account owner's manager's id populated in your new email field. Then write a workflow rule on your custom object for create or any time update and not meeting the criteria to check if the checkbox is selected then send an email to your custom email field.

[Do mark this answer as solution if it works for you and give a kudos.]

Hi Utsav

  I would like to ask you. Now i have workflow rule on custom object to update owner's manager email to object field

 using the following syntax:

But i don't know how to get the object field into recipients via email alert.
Please suggest me.
Thanks in advance.