I'm using a web connection to an FME Server instance to call an FMEServerJobSubmitter. I would like to trigger a topic to notify an external application that the job was submitted and I would like to include the FME Server hostname in my notification. The FME Server instance that the job was submitted to is not necessarily the same as the instance that the calling job is running on, so I can't rely on the built-in FME Server Parameters.
Is there any way that the hostname can be somehow extracted from an FME web connection? Happy to resort to Python or other methods if necessary. I'd like this to be a dynamic solution rather than manually defining the hostname somewhere in my workspace.