I want to generate a PDF and send email with that PDF file as attachment. I used the OOTB HTMLToPDF activity to get the PDF as Java Object byte array. But to send email using another OOTB activity SendEmailNotification, I need to send that PDF byte array to the AttachmentPage.pyAttachments.pyData which needs a string. Could anyone please help on how to achieve this?
***Edited by Moderator Marissa to update platform capability tags****