Yeah....I tried the same But its throwing null pointer exception. I gave as
int noOfTerms = (Integer)executionContext.getContextInstance().getVariable("No of Terms");
where "No of terms" is the variable i am trying to retrieve.
Yeah...I got that right...its to do wth the case mismatching. THanks
BTW, the autoboxing is what's producing the NullPointerException. NULL cannot be assign to primitive int.