+++ This bug was initially created as a clone of Bug #858607 +++ Description of problem: Platform BZ for https://issues.jboss.org/browse/JBPM-3792 Steps to Reproduce: See details in JBPM-3792 Actual results: WorkItemHandler gets null from StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession() Expected results: WorkItemHandler gets ksession from StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession()
This issue has been resolved in the current version of jBPM6 by allowing users to inject the ksession as a constructor argument in the work item handler configuration file.
Verified in BPMS 6.0.0.ER4 ... Business central use WebServiceWorkItem: "WebService": new org.jbpm.process.workitem.webservice.WebServiceWorkItemHandler(ksession) so I verified that the ksession is not null there
This BZ has been part of the 6.0.0 stream.