How to pass attachment from one entity to another?
0
Hello, I have “MyFile” entity with generalization from the ”file” entity, so the user can upload attachments and store them with “MyFiile” entity objects. I need to pass this attachment file to the. “MyFile_2” entity via a microflow. How can I do it? I tried to pass the “MyFile” entity to the microflow, but there I can access only a few attributes like. “name”, “size”, but I can’t access the attribute where the file is stored.
asked
Maxim Velichkin
1 answers
2
Import the community commons module and use the action duplicatefiledocument for this.
This allows you to copy the file from one entity to another and afterwards you could delete te source file if needed.