Loading

Merge Field Values Referenced in EmailTemplate Resolves to Incorrect Values When Two Fields with Same Label are Present.

Date de publication: Oct 6, 2026
Description

Steps To Reproduce:
1. Create a custom field with same field name as of any standard fields of any object or create a field with conflicting names such as Customer and Customer ID with extra ID added as suffix.
2. Refer the field in the EmailTemplate as merge field
3. On send/preview if the related record's corresponding field value is null, it's being replaced by the standard field's value

Cause:
In merge map if two fields has the same name, the key value of both the field will be the same. So value of one field will replace the value of another field on load.

Please refer this known issue link for more details.

Résolution
There aren't any workarounds available for this issue other than changing the field name of the avoid this.
Change the field name of either Customer ID or Customer field as a workaround.
 
Numéro d’article de la base de connaissances

000394418

 
Chargement
Salesforce Help | Article