Hi
Thanks for your reply. The following shows my test case:
KnowledgeBase kbase = createKnowledgeBase("bpmn/sample.bpmn");
StatefulKnowledgeSession ksession = createKnowledgeSession(kbase);
ProcessInstance processInstance = ksession.startProcess("Minimal");
ksession.signalEvent("completeEvent","A", processInstance.getId());
assertProcessInstanceNotCompleted(processInstance.getId(), ksession);
The work item is created during the process execution so do I still need to insert the work item via ksession.insert(..) also where do I invoke ksession.fireAllRules(..) method?
Thanks