in a job with the version 2.5, I use the job entry "Evaluation script". With this job I retrive the value of a variable and in the case of true I do something otherwise I do something else.

With the porting to the version 3.0 the "Evaluation script" is trasformed in "JavaScript" and I am not able to retrive the value of a variable. I try with getVariable("VarName", ""), but it work only with "Modified Java Script Value" in a trasformation.

I have to trasform all "Evaluation script" in transformation with "Modified Java Script Value" or there is a way to use "JavaScript" like "Evaluation script"?