Hi @nic_ran
It doesn't look like there is an easy way to get at that information right now. This might be a good candidate for the Ideas page here to perhaps update the FMEServerJobSubmitter to return an attribute with the hostname of the server that the job was submitted to.
For now though, this information like this is output to the Log file when a job is submitted:
FMEServerJobSubmitter(ServerFactory): http://serverhost - Job #4615 submitted
So, one option might be to use a PythonCaller to open the logfile and look for the line containing the job ID of the job just submitted and then pull out the hostname from that.
Hi @nic_ran
It doesn't look like there is an easy way to get at that information right now. This might be a good candidate for the Ideas page here to perhaps update the FMEServerJobSubmitter to return an attribute with the hostname of the server that the job was submitted to.
For now though, this information like this is output to the Log file when a job is submitted:
FMEServerJobSubmitter(ServerFactory): http://serverhost - Job #4615 submitted
So, one option might be to use a PythonCaller to open the logfile and look for the line containing the job ID of the job just submitted and then pull out the hostname from that.
Thanks Laura, I'll submit an Idea for the hostname to be included in the FMEServerJobSubmitter response. Sounds like a reasonable enhancement and should meet my requirements.
For now I'll look into extracting the info from the log file.