How do I get a file from one object to another.

Hello to all, I have a question regarding file management: I have no idea how to approach this. I intercept a PDF and a code on a page. This code is stored in the following entity: Afterwards I want to send this file as an attachment to an email, but for that it has to be saved in another entity:   Now my question is, how to get the file into that entity (the code does not have to be in the second entity).   Thanks and best regards - Pascal
1 answers

Hi Pascal,

there should be a microflow called "SUB_CreateAttachments” in the emailTemplate module, which takes an email object and a filedocument list. This will create email attachments attached to the email.

Or you can use the CommunityCommons action “duplicateFileDocument”