Passing contact record to email alert

  • 1
  • Question
  • Updated 4 months ago
  • Doesn't Need an Answer
I am using the action to create an email alert.  AWESOME feature!  My email alert is using a Visualforce email template.  I am passing the contact ID to the email alert but I am not seeing the email template receive it.  Why?





I am receiving this in the email.  "Recipient: "

is it because I am also using relatedToType?


Peter
Photo of Peter Herzog

Peter Herzog

  • 1,664 Points 1k badge 2x thumb
  • July

Posted 4 months ago

  • 1
Photo of Peter Herzog

Peter Herzog

  • 1,664 Points 1k badge 2x thumb
Also, I tried removing relatedToType="Account" and got the same result. And I tried hardcoding the ID I am passing to be absolutely sure nothing stupid is going on.
(Edited)
Photo of Peter Herzog

Peter Herzog

  • 1,664 Points 1k badge 2x thumb
I ended up creating an Invocablemethod that sends an email to get around this.