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]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to