kruntime.getKnowledgeBase().getProcess(processId);
it is used to get Process definition by the attribute 'id' of the element 'process' in *.bpmn file, not processId(ksession.startProcess('').getId()).
Reply to this message by going to Community
Start a new discussion in jBPM at Community