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
--------------------------------------------------------------
Hi
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
[
https://community.jboss.org/message/732744#732744]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]