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
Jamz_2010Jamz_2010 

E-mail on Manual Sharing Rule

Hi all,

 

Is it possible to setup an email to be sent to a user when they are given access to a record via a manual sharing rule?

 

Cheers

 

James

Best Answer chosen by Admin (Salesforce Developers) 
werewolfwerewolf

Shares are not triggerable, but you could:

 

  • Make your own "manual share" page which sends an email after it makes the share, or
  • Run a scheduled apex process that queries for new manual shares since the time the process last ran and sends emails to all the people to whom new items have been shared.

All Answers

werewolfwerewolf

Shares are not triggerable, but you could:

 

  • Make your own "manual share" page which sends an email after it makes the share, or
  • Run a scheduled apex process that queries for new manual shares since the time the process last ran and sends emails to all the people to whom new items have been shared.
This was selected as the best answer
Jamz_2010Jamz_2010

Cheers,

 

I feared that was he case but thanks very much for the quick response. I think I'll be re-creating the sharing page...

 

Thanks again

 

James