Support Article
Email attachment PDF is blank
SA-82677
Summary
A PDF file is generated and sent as an email attachment. However, the attached file in the received email is blank. The out-of-the-box SendEmailNotification activity is used to send the email.
Error Messages
Not Applicable
Steps to Reproduce
- Create a button labeled UpdatePO in a section.
- On click of the button, add a Refresh Section action to invoke the UpdatePOInfo activity.
- Create an HTML rule to include this section.
- Create an UpdatePOInfo activity to generate the PDF content and send it as an attachment using the SendEmailNotification activity.
Root Cause
A defect in Pegasystems’ code or rules: PD4ML JAR.
Resolution
Perform the following local-change:
Set the Param.UITemplatingStatus property as 'N' in the first step of the UpdatePOInfo activity.
Published December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.