StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
List<String> list = new ArrayList<String>();
Map globals = new HashMap();
globals.put("list", list);
StatefulKnowledgeSessionSetGlobalStage setGlobal = new StatefulKnowledgeSessionSetGlobalStage();
StatefulKnowledgeSessionPipelineImpl pipeline = new StatefulKnowledgeSessionPipelineImpl(ksession);
pipeline.setReceiver( setGlobal );
pipeline.insert( globals, null );
org.drools.runtime.process.ProcessInstance instance = ksession.startProcess("org.drools.event");