As far as I know, Guvnor doesn't expose processes sources. When you get the binary representation of a package, all the process are there though. Maybe it would be a nice feature to have.
I have a package in the Guvnor that has several rules and one BPMN process.
When I get the package in my app by accessing the Guvnor, I download the
ChangeSet.xml and I get all my rules but I never get the process.
Here is a snipet of my code:
UrlResource resource = (UrlResource)
ResourceFactory.newUrlResource(myChangeSetURL);
KnowledgeAgent kagent =
KnowledgeAgentFactory.newKnowledgeAgent("myAgent");
kagent.applyChangeSet(resource);
guvnorKnowledgeBase = kagent.getKnowledgeBase();
Is there something I'm missing to get my processes too?
TIA,
Bob
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Guvnor-and-BPMN-processes-tp2397932p2397932.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users