Can I execute a global script in "Execute Condition"?

Each action has a “Execute Condition” in Runtime page.  I can evaluate a variable to turn it into boolean value.  However, is that possible to execute a function defined in Project Global Scripts?  e.g.: 

function IsDesigntime(Platform, Config) {
  return (Platform == WIN32) && (Config == DEBUG);
}

Apparently, it fail with the following message:

Execute Condition (JavaScript)
Condition : IsPlatform(Platform, Config)
Error In Execute Condition (JavaScript) Run Action List [ DCC ]: DragDrop : Error In Expression:
Microsoft JScript runtime error
Object expected
Character: 2



No, Global scripts are not exposed to the execute condition. If you need to do that, use an Execute script action before it to set the variables as required.