Symptom
How to add Custom Token in Email Notification Templates.
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Environment
SAP SuccessFactors Onboarding
Reproducing the Issue
- Go to Email Services
- Search Any Email Template
- Got to 3rd Option (Define Email content)
- Now choose Insert token ( Here you can only select the Standard token not custom Token)
Resolution
To add the custom tokens in the email notification, you must:
- Create the custom token template content using Document Generation- Manage Document Template.
- Map the custom tokens using Document Generation- Manage Document Template Mapping.
- Insert the custom tokens in the email template in Email Services.
For More Information you can refer below Help portal Link: Adding Custom Tokens in Email Notifications
How it looks like > Screenshots of the configuration:
- The standard Template ID for a document template is EMAIL_CUSTOM_TOKEN_MAPPING, Add the necessary information:
- Selecting the template and Mapping the the custom tokens using 'Document Generation - Manage Document Template Mapping':
- Selecting the correct locale and inserting custom tokens:
Please note that:
- It is not possible to edit standard tokens.
- Fields from custom MDF objects cannot be mapped to custom tokens.
- Custom tokens are not supported in templates with trigger (ONB) Suite mapping error Trigger.
- Custom tokens are not supported in Nudge email notifications.
- In case token comes with no values/ blank values, note if the Mapping Type in Document Generation - Manage Document Template Mapping is correctly selected!
See Also
Keywords
Custom, Token, Email, Service, Onboarding, Edit, Add, Settings, Template, blank, not, populating, nothing, appear, Onb, Obx, Onboarding , KBA , LOD-SF-OBX-EML , Notifications , How To