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.

What does dev-team think?

Best Regards, 

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


On Tue, Feb 1, 2011 at 12:31 PM, bob.breitling <bob.breitling@rrd.com> wrote:

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