Skip to main content
Question

Running Workspaces in series - FME Server

  • April 26, 2018
  • 8 replies
  • 93 views

pratap
Contributor
Forum|alt.badge.img+12

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

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.

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
Supporter
Forum|alt.badge.img+40
  • Supporter
  • 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.


gisuser
Participant
Forum|alt.badge.img+4
  • Participant
  • March 26, 2019

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

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


gisuser
Participant
Forum|alt.badge.img+4
  • Participant
  • March 26, 2019

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

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+12
  • Author
  • Contributor
  • March 26, 2019

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