Symptom
Custom Tokens created in Manage Document Template Mapping are not visible in Document Mapping Business Rule
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 2.0
Reproducing the Issue
- Create custom tokens: EMAIL_CUSTOM_TOKEN_MAPPING
- Attempt to write a rule on the custom tokens
- Observe that the custom tokens are not visible in the "Document Mapping business rule"
Cause
This is expected behaviour of the system, the token itself does not appear in the dropdown DocumentMappingRuleResult.
Resolution
- Create a template for EMAIL_CUSTOM_TOKEN_MAPPING similar to EMAIL_CUSTOM_TOKEN_MAPPING.
- In the rule, set the value to DocumentMappingResult only. The token will not be displayed in the dropdown.
- Set 'Mapping result'."genericString1" for string values. For date and long, use similar fields in the result object accordingly. The screenshot below is an example configuration
See Also
Refer to: Adding Custom Tokens in Email Notifications
Refer to: Rule Scenario for Document Generation
Keywords
custom tokens, document mapping, business rule, sap successfactors onboarding, EMAIL_CUSTOM_TOKEN_MAPPING_EN_US, DocumentMappingResult, Mapping result, genericString1 , KBA , LOD-SF-OBX-EML , Notifications , How To
Product
Attachments
Pasted image.png |