email attachment

0
Hi,  I’ve generated the pdf file which is stored in the entity “Invoice” (entity generalize with system.filedocument) File name “new Invoice” is generated by the microflow, what is the simple way to add this generated pdf to my email as a attachment. I’ve tried ‘SendSimpleEmail’ and ‘SendMailNoErrorThrow’  only my email content is going not my pdf attachment.  I think I’m doing some mistake while passing the the pdf file.
asked
1 answers
4

Hi Rashmi,
In the email module you will have an association nameed Attchment_email. 
Use the Attachment entity to generate the pdf file and then associate it with email entity. 

 

Then make sure , your email sending microflow has this sub microflow ( ‘EmailTemplate.Sub_CreateAttachments’ ) called. 

Hope it Helps!!

answered