[jboss-user] [jBPM] - Re: How can I take process definitions from Guvnor with jBPM5 API?
liliana.iovanovici
do-not-reply at jboss.com
Thu Sep 20 08:57:07 EDT 2012
liliana.iovanovici [https://community.jboss.org/people/liliana.iovanovici] created the discussion
"Re: How can I take process definitions from Guvnor with jBPM5 API?"
To view the discussion, visit: https://community.jboss.org/message/760588#760588
--------------------------------------------------------------
KnowledgeAgentConfiguration aconf = KnowledgeAgentFactory.newKnowledgeAgentConfiguration();
KnowledgeAgent kagent = KnowledgeAgentFactory.newKnowledgeAgent("testKAgent", aconf);
String fileName = " http://localhost:8180/guvnor-5.3.0.Final-jboss-as-7.0/rest/packages/test/assets/ http://localhost:8180/guvnor-5.3.0.Final-jboss-as-7.0/rest/packages/test/assets/";
kagent.applyChangeSet(ResourceFactory.newFileResource(fileName));
KnowledgeBase kbase2 = kagent.getKnowledgeBase();
StatefulKnowledgeSession ksession2 = kbase2.newStatefulKnowledgeSession();
ProcessInstance processInstance = ksession2.startProcess("myProcessTest.bpmn");
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/760588#760588]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120920/421707ec/attachment.html
More information about the jboss-user
mailing list