CreateFile and upload to system.fileDocument using Microflow
Hello, I am creating a file using a microflow and it appears in my Downloads-folder, or I can have it opened in the browser. Currently I need to re-upload that file using the FileManager-widget, but I want to extend my microflow to directly upload the file. I tried to use the FileFromFileDocument Java-action, but without succes. Could anyone advise?
You shouldn’t need to download and re-upload the document if you need a keep a copy. Just delete everything after the Generate PDF action in your microflow. That will generate the document and store it in your app. It looks like you are already committing the objects, but do double check everything is committed.