Skip to main content
Solved

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

  • March 14, 2018
  • 2 replies
  • 65 views

f.kemminje
Contributor
Forum|alt.badge.img+11

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.

 

Best answer by david_r

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 :-)

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

david_r
Celebrity
  • 8394 replies
  • Best Answer
  • March 14, 2018

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 :-)


oscard
Influencer
Forum|alt.badge.img+22
  • Influencer
  • 344 replies
  • March 14, 2018

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

https://playground.fmeserver.com/