Symptom
Multiple paragraphs maintained in one field during Review New Hire Data step or Personal Data Collection Step are displayed as a single paragraph in the email body using custom token.
Environment
SAP SuccessFactors Onboarding
Reproducing the Issue
1. Add field in Manage Business Configuration page and configure a custom token to map this field on email template.
2. During the 'Review New Hire Data' step or 'Personal Data Collection', the onboarding coordinator or candidate maintain text in three paragraphs within the field. Like,
A:xxxxxxx
B:xxxxxx
C:xxxxxx
3. Trigger an email with value of this field as a custom token in the email body.
4. Observe that the custom token displays the text as a single paragraph, combining all three paragraphs. Like,
A:xxxxxxB:xxxxxxC:xxxxxx
Cause
The custom token does not accept line breaks, resulting in the text being displayed as a single paragraph in the email body.
Resolution
This is expected behavior.
Each field can be used to collect one paragraph and then map it to one custom token. For instance, three fields collect three paragraphs and then map them to three custom tokens.
See Also
Keywords
custom token, email body, paragraphs, line breaks, sap successfactors onboarding, onboarding email template, email notification, text formatting issue, multiple paragraphs, single paragraph, email services, review new hire data, personal data collection , KBA , LOD-SF-OBX-EML , Notifications , Problem
SAP Knowledge Base Article - Public