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]

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

Reply via email to