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