[jboss-user] [jBPM] - Using BPMN2 processes created with guvnor console

Mylos Kathos do-not-reply at jboss.com
Wed Dec 28 02:58:21 EST 2011


Mylos Kathos [http://community.jboss.org/people/mylos78] created the discussion

"Using BPMN2 processes created with guvnor console"

To view the discussion, visit: http://community.jboss.org/message/643481#643481

--------------------------------------------------------------
Hi all,
I've just installed JBPM5.2 and tested the guvnor console (on JBoss 7) to design new BPMN2.0 processes. Now I'm looking for a way to use this process definition from within a sample Web application (or any kind of deployed application) running on JBoss 7. 
Within the documentation I've found how to refer to a KnowledgeAgent, 

KnowledgeAgent kagent = KnowledgeAgentFactory.newKnowledgeAgent( "MyAgent" );

kagent.applyChangeSet( ResourceFactory.newUrlResource( url ) );

KnowledgeBase kbase = kagent.getKnowledgeBase();

however I couldn't find an example of how to load from the KnowledgeBase a BPMN2 process which is inside a package. Thanks in advance for your help
Mylos
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[http://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/20111228/dac4e191/attachment-0001.html 


More information about the jboss-user mailing list