Skip to main content
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.

 

 

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
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.

 


@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!

Reply