SAP Knowledge Base Article - Public

3263795 - How to add Custom Token in Email Notification - Onboarding

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

  1. Go to Email Services
  2. Search Any Email Template
  3. Got to 3rd Option (Define Email content)
  4. 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:

  1. Create the custom token template content using Document Generation- Manage Document Template.
  2. Map the custom tokens using Document Generation- Manage Document Template Mapping.
  3. 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:

  1. The standard Template ID for a document template is EMAIL_CUSTOM_TOKEN_MAPPING, Add the necessary information:



  2. Selecting the template and Mapping the the custom tokens using 'Document Generation - Manage Document Template Mapping':



  3. 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

Adding Custom Tokens in Email Notifications

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

Product

SAP SuccessFactors Onboarding all versions