Skip to main content
Question

Add output from multiple FMEServerJobSubmitters to a single zip file

  • June 14, 2017
  • 2 replies
  • 22 views

fmelizard
Safer
Forum|alt.badge.img+21

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

fmelizard
Safer
Forum|alt.badge.img+21
  • Author
  • Safer
  • 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+16
  • 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