Product and version FileMaker Server 16
OS and version Mac OS X 10.11.6
Hardware Mac Pro 2009
(thanks to Vincenzo Menanno for identifying the problem)
When running a script on FileMaker Server via Perform Script on Server some Get() functions fail to return a value. Known problems include:
Get( DesktopPath )
Get( FileMakerPath )
Get( SystemDrive )
There may be others. See screen-shots below of same script run from FileMaker Pro Advanced 16.0.1 against FileMaker Server 15.0.3 and FileMaker Server 16.0.1
How to replicate
Run a script via Perform Script on Server [Wait for results] that returns the problematic Get() commands.
Workaround (if any)
It is possible to parse the working Get( DocumentsPath ) to derive DesktopPath, FileMakerPath, and to guess at SystemDrive.