Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Email sent without the attached PDF



After generating a PDF using the Create PDF smartshape, the notification is sent through the Task assignment with the generated PDF as an attachment. However, the email is sent without the attached PDF.

Error Messages

Not Applicable

Steps to Reproduce

  1. After a case is triggered in the first stage of the first flow, immediately set the PDF generation as the first step
  2. Invoke the assignment with a notification.
  3. Add the generated PDF as an attachment in this email. The PDF is generated and attached to the work object, but is not sent through the email.

Root Cause

A defect in Pegasystems’ code or rules.
By default, none of the utilities or smartshapes commit the transaction. They transact in the deferred Save mode. Therefore, the attachments that are attached by  the Create PDF smartshape are not rendered by the Send Email shape.


Perform the following local-change:

Send the emails in batch mode.
Invoke the Send Email logic in the Batch mode instead of the Sequential mode.

Published August 15, 2019 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us