JBoss Community

Re: getProcess in ProcessInstanceImpl throws a NullPointerException

created by wp ren in jBPM - View the full discussion

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