SysApplicationBootstrap.isRunningMode Method [AX 2012]
Returns true if the application is in X++ regular execution mode and returns false in other cases.
Syntax
public boolean isRunningMode()
Run On
Server
Return Value
Type: boolean
Always returns false, because during compilation all on the server, the minimum amount of X++ code should be executed.
Remarks
In this case the method always returns false because this execution is just for the server side compilation.