Cause
This error occurs if the executeFlag name specified in the executeWhen instruction is not recognized as a Boolean global constant.
executeWhen Debug; write obj.name; endExecuteWhen;
Action
Ensure that you have defined a Boolean global constant.