[jboss-user] [jBPM] - Start a process from a third party application

Jose Miguel Loor do-not-reply at jboss.com
Fri Apr 27 13:16:08 EDT 2012

Jose Miguel Loor [https://community.jboss.org/people/jmiguel77] created the discussion

"Start a process from a third party application"

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


I have deployed a jbpm 5.2 process in guvnor, build it and then it appears in the jbpm-console. Now i need to start it from a third application.

In the API examples i see this code:

KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(ResourceFactory.newClassPathResource("sample.bpmn"), ResourceType.BPMN2);
return kbuilder.newKnowledgeBase();

but it seems to me, that this code is creating a new KnowledgeBase from scratch, and for what i want to do, i should be connecting to an existing KnowledgeBase; am i right ?? how can i do this ??

thanks a lot

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/20120427/49260b49/attachment.html 

More information about the jboss-user mailing list