Question

Add output from multiple FMEServerJobSubmitters to a single zip file


Userlevel 4
Badge +13

I'm trying to create a zip file when the workspace completes that containing sub-directory and file in the root coming from file output by FMEServerJobSubmitter.


2 replies

Userlevel 4
Badge +13

To do this, you need to use the File Copy Writer to copy the output files into a single zip file. Here is an article that speaks to that somewhat: https://knowledge.safe.com/articles/881/including-additional-files-in-the-data-download-re.html

Since you are using the FMEServerJobSubmitter, I would probably expose the writer's destination path parameter in the child workspace. Then in the controller/parent, you can specify the output path of the child workspaces and use the File Copy writer in the parent workspace to copy the childs output to the zip file.Give this a try and let us know how it goes.
Badge +11

I ended up going with a Workspace Patameters -> Scripting -> Shutdown Python Script

Zip your Output with FME

https://knowledge.safe.com/articles/673/zip-your-output-with-fme.html

Reply