Skip to main content
Question

WorkspaceRunner example

  • December 4, 2012
  • 3 replies
  • 276 views

kimo
Contributor
Forum|alt.badge.img+10
I cannot see how to make the WorkspaceRunner work.

 

What is the input supposed to be? Was there ever an example in fmepedia?

 

 

Instead of running multiple quick translator sessions interactively I want to automate running the workbenches in parallel.  Now that there is a limit of 6 my workflow is disrupted because I have to watch to see if a workbench is finished before I start another. This is a big step backwards for me.

 

 

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.

3 replies

sigtill
Supporter
Forum|alt.badge.img+25
  • Supporter
  • December 4, 2012
Seems it has been taken down (http://fmepedia.safe.com/articles/Samples_and_Demos/WorkspaceRunner)

 

 

If you create a simple workspace with one Published Parameter (for instance: Name). And then save this -> myworkspace2.fmw

 

 

Then you open a new workbench and create a WorkspaceRunner and link to the other workspace (myworkspace2.fmw) you will get the option to insert all Published Parameters from myworkspace2.fmw into this workspace. 

 

 

This demonstrates the use of a workspacerunner for one case: http://fmepedia.safe.com/articles/How_To/Creating-a-Web-Map-Tile-Cache-in-SQL-Server

kimo
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • December 4, 2012
I see that example is nothing like my case. I have 7 (actually there are over 20) different workspaces that I want to run once with different readers and writers.

 

 

I want to run half a dozen at a time in parallel, and start more when the first set finish. They don't need any parameters because the input and output is hard coded as parameter defaults.

 

 

If I run them in a DOS batch file they only run sequentially.

 

 

I would prefer that there was some logging so that I can restart the processes that fail. Some always fail, but re-run without editing or changes...

 

 

If I put the readers in one workspace the time explodes out to all day and they run out of memory, so I keep each workspace with a single reader/writer combination. The number of features or records are in the millions for each workspace, up to 50M, although a lot of records are discarded.

 


geospatiallover
Participant
Forum|alt.badge.img+6
@SigTill, thanks for your answer on passing parameters to a runner. I have searched for many results and so far this is the only reference I found for linking a published parameter to use in a WorkspaceRunner. Many thanks!