There are ways to determine if a job is being run on FME Desktop or FME Server, however, many of them simple, however, they tend to feel hacky and are not always obvious.
It would be great if there was an FME specific variable (one of these) that we can use to distinguish between FME Server and FME desktop.
There are a lot of reasons why you might want to have this kind of parameter available.
- Perhaps on FME desktop you want to use a configured emailer transformer to send and email but on FME Server you have the workspace configured to send out on success and dont need/want the emailer.
- Perhaps on FME Server you want the job to trigger an FMEServerJobSubmitter to kick of the next part of a worksapce chain, but on Desktop you don't - or instead want to route it to a WorkspaceRunner.
- Perhaps on Desktop you want data to be read from one database and on server from another

