[jboss-user] [jBPM] - Re: How can I take process definitions from Guvnor with jBPM5 API?

liliana.iovanovici do-not-reply at jboss.com
Mon Feb 13 04:35:09 EST 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/716122#716122

--------------------------------------------------------------
I allready tried this: 

KnowledgeAgent kagent = KnowledgeAgentFactory.newKnowledgeAgent("MyAgent");
        kagent.applyChangeSet( ResourceFactory.newUrlResource( http://localhost:8180/guvnor-5.3.0.Final-jboss-as-7.0/org.drools.guvnor.Guvnor/webdav/packages/defaultPackage/ http://localhost:8180/guvnor-5.3.0.Final-jboss-as-7.0/org.drools.guvnor.Guvnor/webdav/packages/defaultPackage/) );
        KnowledgeBase kbase = kagent.getKnowledgeBase();
        StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
        ProcessInstance processInstnace =  ksession.startProcess("myProcess.bpmn");
--------------------------------------------------------------

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

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/20120213/36913784/attachment.html 


More information about the jboss-user mailing list