Closed
Send email with PDF attachment generated by HTMLToPDF (Do not want to attach to case)
I want to Email with PDF attachment generated by HTMLToPDF (Do not want to attach to case).
I tried below option but its attaching as blank. java step then email params
byte[] byteArray=(byte[])tools.getParameterPage().getParameterValue("PDFDocument");
strFileData =Base64Util.encodeToString(byteArray);
.pyAttachments(<LAST>).pyData =local.strFileData
---I am able to view the pdf with Code-Pega-PDF.View, it's attaching blank to Email not sure if i am missing anything or any OOTB issue?