Skip to main content
Solved

Using WorkspaceRunner on FME Server ?

  • October 28, 2021
  • 7 replies
  • 422 views

lifalin2016
Contributor
Forum|alt.badge.img+29

Hi authors.

FME workspaces are stored in a specific and well-known structure on an FME Server. So finding the path of another workspace is feasiable.

I'm wondering whether I can use WorkspaceRunner to submit other workspaces on an FME Server instead of FMEServerJobSubmitter ?

Is this completely no-go, or are there benefits, such as running more workspaces within a single job ?

It would also simplify building and debugging on desktop.

Any insights are appreciated.

Cheers

Best answer by david_r

The WorkspaceRunner requires an FME Desktop license, as it executes the workspace through the same mechanisms as FME Desktop, i.e. not using FME Server engines. I would highly recommend only using the FMEServerJobSubmitter on FME Server.

Regarding debugging, I usually insert a TestFilter to check if FME_JOB_ID > 0, which effectively tells you if the workspace is running on FME Desktop or Server, and the route the trigger feature to either a WorkspaceRunner or an FMEServerJobSubmitter.

View original
Did this help you find an answer to your question?

7 replies

david_r
Evangelist
  • Best Answer
  • October 28, 2021

The WorkspaceRunner requires an FME Desktop license, as it executes the workspace through the same mechanisms as FME Desktop, i.e. not using FME Server engines. I would highly recommend only using the FMEServerJobSubmitter on FME Server.

Regarding debugging, I usually insert a TestFilter to check if FME_JOB_ID > 0, which effectively tells you if the workspace is running on FME Desktop or Server, and the route the trigger feature to either a WorkspaceRunner or an FMEServerJobSubmitter.


redgeographics
Celebrity
Forum|alt.badge.img+49

You can't use WorkspaceRunners on FME Server and I would really want to stress that running a workspace on FME Server without going through the FME Server core is not a good idea. For one, those jobs will not be logged and if FME Server would crash during one of those jobs it'll not restart it. FME Server might also think an engine is available while in reality it's running one of those jobs.

Can you explain a bit more about your use case? FMEServerJobSubmitters essentially offer the same functionality. I do agree it is a bit of a hassle to switch out WorkspaceRunners for FMEServerJobSubmitters but it is possible to use an FMEServerJobSubmitter in a workspace you're running locally on FME Desktop (as long as you have access to that FME Server from that local FME Desktop of course).

 


david_r
Evangelist
  • October 28, 2021
redgeographics wrote:

You can't use WorkspaceRunners on FME Server and I would really want to stress that running a workspace on FME Server without going through the FME Server core is not a good idea. For one, those jobs will not be logged and if FME Server would crash during one of those jobs it'll not restart it. FME Server might also think an engine is available while in reality it's running one of those jobs.

Can you explain a bit more about your use case? FMEServerJobSubmitters essentially offer the same functionality. I do agree it is a bit of a hassle to switch out WorkspaceRunners for FMEServerJobSubmitters but it is possible to use an FMEServerJobSubmitter in a workspace you're running locally on FME Desktop (as long as you have access to that FME Server from that local FME Desktop of course).

 

+1, you said it better than me.


lifalin2016
Contributor
Forum|alt.badge.img+29
  • Author
  • Contributor
  • October 28, 2021
david_r wrote:

+1, you said it better than me.

Ok, so basically no-go. Got it! :-)

I'll give you the benefit of the best answer for mentioning that I can have both, depending on whether running as desktop (build/debug) or server.


redgeographics
Celebrity
Forum|alt.badge.img+49
david_r wrote:

+1, you said it better than me.

Thanks @david_r​ 😄 Just finished an FME Server training yesterday where the trainees had a lot of questions along these lines, I guess I had the opportunity to practice 😊


david_r
Evangelist
  • October 28, 2021
david_r wrote:

+1, you said it better than me.

Sounds like you should go for the Server certification next, Hans!


redgeographics
Celebrity
Forum|alt.badge.img+49
david_r wrote:

+1, you said it better than me.

It expired a while ago, but I'm too busy to find the time to finish the last part of the examination 😅


Reply


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