Skip to main content
Question

Add output from multiple FMEServerJobSubmitters to a single zip file


fmelizard
Contributor
Forum|alt.badge.img+17

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

fmelizard
Contributor
Forum|alt.badge.img+17
  • Author
  • Contributor
  • June 14, 2017

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.

hlouie
Contributor
Forum|alt.badge.img+15
  • Contributor
  • June 14, 2017

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings