AnsweredAssumed Answered

Script task execution

Question asked by seema on Apr 15, 2016
Latest reply on Apr 20, 2016 by seema
Hello everyone

I am executing a script task. I wrote the following code in script :

var scriptVar = 3;
var resultVar=" ";
var resultVarYes="yes";
var resultVarNo="no";
execution.setVariable("resultVar", resultVarYes)
execution.setVariable("resultVar", resultVarNo)

I want to put the value of "resultVarYes" in "resultVar". How to set this value. So i can use value of resultVar.
Any help is appreciated. Thanks in advance.