In Eclipse IDE, Action were defined for a particular script task. The action is written in mvel dialect as: kcontext.getKnowledgeRuntime().setGlobal("treatmentTasks",
{"option1", "option2", "option3"});
But When the program runs it is displaying an error. Please see http://pastebin.com/9smKwSnV.