Solved

how to change the publish parameter values for each run in fme server ?

  • 14 March 2018
  • 2 replies
  • 6 views

Badge +3

Hi Team Fmeiers,

 

I wanted to change the publish parameter value in fme server for each run. for example

existing system we have is:

fme desktop,in my fmw file the buffer value is published. and every time i run thru batch file, i can change the buffer values by editing batch file.

fme.exe c:\\temp\\create_road.fmw --buffer 50

fme.exe c:\\temp\\create_road.fmw --buffer 100

fme.exe c:\\temp\\create_road.fmw --buffer 150

here the bat file calls the same fme workspace three times with different buffer values.

calling this batch file windows scheduler , three different time intervals.

 

 

upgraded to fme server 2017

Now, this fmw file is published in fme server and this job is scheduled in server three times a week

how can I achieve the same task using fme server.

 

your help will be appreciated.

 

icon

Best answer by david_r 14 March 2018, 15:01

View original

2 replies

Userlevel 4

The easiest is to create three different schedules, one for each buffer size.

Next step could be to chain the workspaces together with e.g. a master workspace and three FMEServerJobSubmitters with different buffer sizes. You can then create a single schedule for the master workspace.

The black belt solution is to do the same thing using notifications :-)

Userlevel 2
Badge +19

You could also code an app to run the fme server workspace with the parameters you want:

https://playground.fmeserver.com/

Reply