Hi,
In your email connector module there will be microflows to attach documents in pdf
i have highlighted the microflow set attachment , in which you have to pass email object and attachment list
Riccardo,
It looks like you are using the Email Templates module. If so, you can use microflow EmailTemplates.Sub_CreateAndSendEmail as an example of how to accomplish this.
In that microflow, you'll see these two Actions:
In order to create attachments, you'll pass a List of System.FileDoc (or a specialization) objects and the email to submicroflow Sub_CreateAttachments and then commit the returned list of Attachment objects.
After doing that, you can call microflow IVK_SendEmail with the email object.
If you prefer to do this without using the microflows from the EmailTemplates module, make sure you create a list of EmailTemplate.Attachment objects and pass them into the SendEmailMessage microflow.
Hope that helps,
Mike