Attach image to object in microflow

0
Is it possible to attach an image when creating a new object in a microflow? You can assign different attributes, for example, strings etc. I’m having a hard time figuring out how to attach/assign an image.
asked
1 answers
3

Yes, it is possible.

Have a look at FileDocumentFromFile action in Community Commons on the Marketplace.

This has two parameters, a file and a fileDocument. The file is the name of the file you want to load into the fileDocument. This is picked up from your resources directory in your project. You will also need to create a new generalised FileDocument object to pass into the action.

Hope this helps.​​​​​​​

answered