[jboss-user] [jBPM] - Re: How to get a package from Guvnor and start it

Maciej Swiderski do-not-reply at jboss.com
Thu Dec 6 12:51:20 EST 2012

Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: How to get a package from Guvnor and start it"

To view the discussion, visit: https://community.jboss.org/message/780462#780462

it should be enough to do like this:

KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(YOUR_URL_RESOURCE, ResourceType.BPMN2);
KnowledgeBase kbase = kbuilder.newKnowledgeBase();

and then do the same way as usualy to create session using kbase.

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121206/28fc41bd/attachment.html 

More information about the jboss-user mailing list