SAP Knowledge Base Article - Public

3694486 - Incorrect or extra documents attached to Email Template - Onboarding

Symptom

  • The email notification sent to the recipient contains additional attachments that are not configured in the Email Template settings.
  • When reviewing the configuration, only specific documents are selected, but the actual email includes extra, unwanted files.

Environment

SAP SuccessFactors Onboarding.

Reproducing the Issue

  1. Navigate to Email Services > Manage Email Template.
  2. Open the desired template and go to Set Up Rules > Select Attachment Rules.
  3. Ensure only one rule is selected/configured to attach documents.
  4. Save the changes and trigger the email.
  5. Check the Email Status or the received email; verify that additional, unrequired documents are attached alongside the correct document.

Cause

There is a data discrepancy between the Email Services UI and the Manage Data object.

  • Even though only one rule is visible in Email Services, a second, unwanted rule is still associated with the EmailTemplate object in Manage Data.
  • Consequently, the system triggers both rules, pulling in extra documents.

Resolution

To resolve this issue, the incorrect rule must be removed manually via Manage Data:

  1. Navigate to Manage Data.
  2. In the first search box, search for EmailTemplate.
  3. In the second search box, search for and select the affected Email Template.
  4. Click on Take Action > Make Correction.
  5. Scroll down to the field labeled templateAttachmentRules.
  6. You will see multiple rules listed here (whereas the UI only showed one). Identify and erase the unwanted rule.
  7. Click Save.
  8. Restart the candidate process or create a new test candidate to confirm that only the correct documents are now attached.

Keywords

email, template, services, dynamic, documents, onboarding, attachment, attach, rules, templateAttachmentRules, OBX, ONB. , KBA , LOD-SF-OBX , Onboarding 2.0 , LOD-SF-OBX-EML , Notifications , Problem

Product

SAP SuccessFactors Onboarding all versions