This content has been marked as final.
Show 2 replies
-
1. Re: Using BPMN2 processes created with guvnor console
swiderski.maciej Dec 28, 2011 3:26 AM (in response to mylos78)Once you have knowledge base yo should create session from it and then start your process by id:
StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession(); ksession.startProcess("process.id"); // or start with params ksession.startProcess("process.id", params);
If you need persistence than you should use JPAKnowledgeService to create session.
StatefulKnowledgeSession ksession = JPAKnowledgeService.newStatefulKnowledgeSession( kbase, null, env );
For details take a look at java docs and documentation
HTH
-
2. Re: Using BPMN2 processes created with guvnor console
mylos78 Dec 28, 2011 6:20 AM (in response to swiderski.maciej)Thanks a lot Maciej.
Mylos