Maciej Swiderski [
http://community.jboss.org/people/swiderski.maciej] created the
discussion
"Re: Using BPMN2 processes created with guvnor console"
To view the discussion, visit:
http://community.jboss.org/message/643488#643488
--------------------------------------------------------------
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
http://docs.jboss.org/jbpm/v5.2/javadocs/ java docs and
http://docs.jboss.org/jbpm/v5.2/userguide/ documentation
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/643488#643488]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]