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

Unable to convert an email to PDF



Unable to convert an email to PDF.

Error Messages

Not Applicable

Steps to Reproduce

  1. Create an HTML-Rule as below (for example, @baseclass.PdfCheck)



  2. Execute @baseclass.pyViewAsPDF activity.

    HTMLStream: PdfCheck
    PDFName: PdfCheck.pdf

    With the above execution, PDF generation crashes.
Below is the sample HTML rule which contains the entire HTML generated out of Pega, which the user attempted to convert to PDF.


Hallo "this is " World!

When the attached HTML is viewed in the browser, the body content displays as above. However, the PDF generation crashed.

Root Cause

A third-party product issue: PD4ML


Apply HFix-59955.

Published February 17, 2020 - 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