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

Problem with sending email with entitlement processes


I have a problem with an email alert sent by entitlement processes, some fields are missing when we receive the mail.

In a first time, in the email template (VisualForce), I put the relatedToType to Case (relatedToType="Case") with references to the fields like {!RelatedTo.Subject} but only the Status and the CaseNumber appears as filled when a receive the email, the others are blank.

If I use an email alert action launched in a classic workflow or with the button "Send Test and Verify Merge Fields", the core of the mail is well filled.

In a second time, a supposed that the parent is not the Case object but the CaseMilestone so I changed the relatedToType to CaseMilestone (relatedToType="CaseMilestone") and changed references to the fields like {!RelatedTo.Case.Subject} but it's worse cause all the fields are blank :-(

I I use the button "Send Test and Verify Merge Fields" with the CaseMilestoneID in the popup, all the fields are well filled.

Can you help me to found if I forgot to do something ?

Thanks in advance for your answer.