Skip to main content
Question

How to run a FME Server workspace with 2 services (Data Streaming and Job Submitter) at the same time?

  • July 18, 2018
  • 1 reply
  • 68 views

Forum|alt.badge.img

I am trying to run an FME workspace on server, I run it through a web interface (a web page). The workspace is meant to produce a JSON string as a result (when the workspace runs successfully) and in order to do this I use the DataStreaming transformation service. When the workspace fails, I would like it to send an email advising of the failure. I have already all the notification and topic setup (using JOBSUBMITTER_ASYNC_FAILURE) and I tested it on the FME sever web interface and it works fine.

On FME server I can choose with the dropdown list which service I want to run the workspace with, to receive the email I have to use the JobSbmitter. But if I use the DataStreaming then I won't receive the email if the workspace fails. Similarly, when I call the workspace through a HTTP request if I use this endpoint:https://fmserverhost.fmecloud.com/fmedatastreaming/workspace.fmw?parameters I can get the JSON string on success but no email notification conversely, when I use the other endpoint:https://fmserverhost.fmecloud.com/fmejobsubmitter/workspace.fmw?parameters

 

I can get the email on fauiure but the JSON string is not streamed. Is there a way of having both services running at the same time for the same workspace?

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.

1 reply

david_r
Celebrity
  • 8391 replies
  • July 18, 2018

You can only run a workspace as a single service at a time.

If you need to trigger the notification when the fmedatastreaming service fails, you'll have to specify the failure topic when publishing the workspace: