Symptom
When a custom email notification is configured with a dynamic document as an attachment:
- The email is successfully triggered to the candidate
- However, the dynamic document is not attached to the email
The attachment is only included after the candidate is restarted in the onboarding process.
As a result, the issue can be observed as:
- Missing document attachment in the initial email notification
- Attachment appears correctly only after performing a candidate restart
Environment
SAP SuccessFactors Onboarding 2.0
Reproducing the Issue
- Initiate an Onboardee (should be based on conditions of rule to trigger email with attachment)
- Complete ADC, email will trigger without attachment
- Restart the same onboardee,
- Complete the ADC again, email will trigger with attachment already
Cause
The document rule is defined on ADC completion and not on Document Signature step. The current flow of the customer is: PDC -> ADC -> Document Flow.
Resolution
The said document is created during Document flow and not during ADC. Hence, when the email is triggered post ADC, the document flow is not triggered and hence there are no documents to be assigned. Please configure the rule on the document flow email triggers to have the generated document available.
See Also
3504945 - [Main KBA] Dynamic documents as email attachments are not sending - Onboarding
Keywords
obx, email attachment, restart email, ADC, custom email template, without attachment, document flow , KBA , LOD-SF-OBX-EML , Notifications , Problem
SAP Knowledge Base Article - Public