Skip to main content
Kevin Hsu preguntó en #Apex
I'm trying to trigger a confirmation email to a user that follows a custom object.  Is this possible?

I found this, which says that triggering on EntitySubscription is not possible: https://salesforce.stackexchange.com/questions/184684/how-to-write-a-trigger-for-entitysubscription-object

I'm trying to mirror the functionality that SFDC provides for their known issues: https://success.salesforce.com/issues.  They have a "This issue affects me" checkbox, which will send you a confirmation email of your subscription to the known issue.  In my case, we have a "known issue" custom object, and users are able to "follow" them, but I can't figure out how to trigger the confirmation email to them.
1 respuesta
  1. 5 feb 2018, 05:50
    Trigger you can't do it. It knows issue. But what you can do it, you can write scheduler apex job to run every few minutes and sends an email. 

     
0/9000