Skip to main content
Question

Running Workspaces in series - FME Server


pratap
Contributor
Forum|alt.badge.img+11

Hi All,

I have just started working on FME Server.

Is there any way to execute workspaces in series i.e. executing workbench-2.fmw after completion of workbench-1.fmw

Pratap

8 replies

lars_de_vries
Forum|alt.badge.img+10

I think the WorkspaceRunner is the way to go.

Otherwise you'll have to do something with the output of workspace-1.fmw calling workspace-2.fmw.


lifalin2016
Contributor
Forum|alt.badge.img+29
  • Contributor
  • April 26, 2018

Actually, with FME Server, you should look at building a master workspace, and have that utilize FMEServerJobSubmitter and FMEServerJobWaiter to run the wanted workspaces/jobs. Otherwise, in desktop, you would indeed need WorkspaceRunner.


david_r
Celebrity
  • April 26, 2018

I agree that the FMEServerJobSubmitter is the way to go. You can configure it to wait for the job to complete before it continues, which is probably what you're looking for.

I recommend having a look at the documentation before using the transformer, it's slightly more complex than what meets the eye:

http://docs.safe.com/fme/2018.0/html/FME_Desktop_Documentation/FME_Transformers/Transformers/fmeserverjobsubmitter.htm

As a general note: Don't use the WorkspaceRunner on FME Server, it won't work as you expect.


  • March 26, 2019
lifalin2016 wrote:

Actually, with FME Server, you should look at building a master workspace, and have that utilize FMEServerJobSubmitter and FMEServerJobWaiter to run the wanted workspaces/jobs. Otherwise, in desktop, you would indeed need WorkspaceRunner.

@lifalin2016

If the workspaceRunner could not work, is there any alternative solution to do that?

I have 2 workbenches, I want to run the second one after the first one is completed successfully I

am using FME desktop just.


david_r
Celebrity
  • March 26, 2019
gisuser wrote:

@lifalin2016

If the workspaceRunner could not work, is there any alternative solution to do that?

I have 2 workbenches, I want to run the second one after the first one is completed successfully I

am using FME desktop just.

If you only use FME Desktop then you need to use the WorkspaceRunner.


  • March 26, 2019
david_r wrote:

If you only use FME Desktop then you need to use the WorkspaceRunner.

I tried it but it could not work, the second workbench does not run

what shall be the issue in that?


david_r
Celebrity
  • March 26, 2019
gisuser wrote:

I tried it but it could not work, the second workbench does not run

what shall be the issue in that?

Look in the FME log for errors. Also consider posting it as a separate question, try to give as many details as possible.


pratap
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • March 26, 2019
gisuser wrote:

I tried it but it could not work, the second workbench does not run

what shall be the issue in that?

Hope you are using 2 workspace runners... If yes then post a new question with screenshot of connections between both workspace runners


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings