Question

1
Replies
427
Views
madhu yamagani (madhuy90)
nttdata

nttdata
US
madhuy90 Member since 2013 1 post
nttdata
Posted: November 16, 2018
Last activity: December 4, 2018
Posted: 16 Nov 2018 15:21 EST
Last activity: 4 Dec 2018 12:33 EST
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?

Low-Code App Development Data Integration Java and Activities
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.