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