SAP Knowledge Base Article - Public

2654427 - Email Attachments Are Missing in Emails Received via Workflow

Symptom

When an appointment with a PDF attachment is created, the workflow is triggered and an email is sent. However, the received email does not contain the PDF attachment.

Environment

SAP Cloud for Customer core applications

Reproducing the Issue

  1. Go to the Administrator work center. 
  2. Open the Workflow Rules view.
  3. Click New and select Appointment as the business object, E-mail as the rule type, and On Every Save/Scheduled as the timing. 
  4. Click Next and navigate to the Define Conditions section.
  5. Select the checkboxes for Always Send E-Mail, Create E-Mail Activity, and Add Attachment.
  6. Create an appointment with an attachment named XXXX (where XXXX represents the attachment name).
  7. Save the appointment and verify that the workflow is triggered successfully and the email is sent.

    Expected Result: The received email contains the attachment XXXX.
    Actual Result: The received email does not contain the attachment XXXX.
 
 

Cause

The functionality to include files attached to an appointment in workflow-generated emails is currently not supported.

Resolution

This is the expected system behavior. When a workflow is configured for the Activity business object, files attached to the activity are not automatically included in the workflow-generated email.

Workflow supports the following options for sending attachments via email:

1. Using a Standard PDF Form Template

  • In the workflow rule configuration, navigate to the Define Action section.

  • Select the PDF Form Template option.

  • Choose a standard PDF form template provided by the application, which can be sent as an email attachment.

2. Using a Custom Template

  • In the workflow rule configuration, navigate to the Define Action section.

  • Select the Add Attachment checkbox.

  • Implement custom logic to attach the required custom template to the email.

Note that files already attached to an activity are not automatically included in workflow-generated emails. Custom logic is required if additional attachment functionality is needed.

Keywords

PDF, Activity, Attachment, Workflow Rule, Email, Received Email, Missing Attachment, File, Template, Custom Logic, Define Action, Add Attachment, PDF Form Template , KBA , LOD-CRM-WKF , Workflow , LOD-CRM-ACT , Activities , Problem

Product

SAP Cloud for Customer core applications 1.0