Subject: IsResultVariable API does not work for new variables Posted: 7/2/2018 Viewed: 7060 times
I am using JScript to get data from WEAP. IsResultVariable API works correctly for predefined variables of WEAP, but when I declare a new variable, it does not return the correct value. It always returns false (even though, I checked the <Result Variable> and specify a path for that in Create Variable's form).
Actually, the following code always returns false
WEAP.Branch("\Demand Sites\South City").Variables("NewVariable").IsResultVariable
Is it a bug? Or I should anything else?
Topic "IsResultVariable API does not work for new variables"