AnsweredAssumed Answered

Difference between java and groovy

Question asked by santhosh.gandikota301221 on Jun 15, 2016
Latest reply on Jun 15, 2016 by JohnMoore8551

Hi All,

 

i'm checking input values(whether it is NULL or not) in map step with below java script:

 

if(value_in1 != "")

{

value_out=value_in1;

}

else if(value_in2 != "")

{

value_out=value_in2;

}

else

{

value_out="";

}

if i want to write same in groovy,how it will be.?

As i'm new to groovy can any one help in this..

Outcomes