Hi all,
I have created the following sample class Test.java and imported it as an archive:
public class Test{
public static String myStringData = null;
}
In one of the mappings, I have a UDF that sets the "myStringData" using the foll:
Test.myStringData = "Amit";
I am trying to access this variable in another mapping using a UDF with foll statements:
String test = Test.myStringData;
result.addValue(test);
However, on testing the second mapping I get the value of the variable as null. I have activated all objects.
Not sure what exactly I am missing here...Kindly provide your inputs.
Thanks..
Amit