Amin Mohammed-Coleman [http://community.jboss.org/people/aminmc] created the 
discussion

"Re: RuleTask example"

To view the discussion, visit: http://community.jboss.org/message/591710#591710

--------------------------------------------------------------
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
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/591710#591710]

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

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to