[jboss-user] [jBPM] - Re: getProcess in ProcessInstanceImpl throws a NullPointerException

wp ren do-not-reply at jboss.com
Wed Apr 3 22:51:48 EDT 2013


wp ren [https://community.jboss.org/people/bird86] created the discussion

"Re: getProcess in ProcessInstanceImpl throws a NullPointerException"

To view the discussion, visit: https://community.jboss.org/message/806357#806357

--------------------------------------------------------------
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
[https://community.jboss.org/message/806357#806357]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130403/3f08d21d/attachment.html 


More information about the jboss-user mailing list