[jboss-user] [jBPM] - How JBPM Interrogate the process definition "evaluation.bpmn"

Sadiroveski S do-not-reply at jboss.com
Thu Oct 4 12:32:15 EDT 2012


Sadiroveski S [https://community.jboss.org/people/sadiroveski] created the discussion

"How JBPM Interrogate the process definition "evaluation.bpmn""

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

--------------------------------------------------------------
Dear all,

I want to know how the JBPM interrogate the process definition. We design the process and save in a .bpmn file in the classpath. Then, use the following code

-------------
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
                    kbuilder.add(ResourceFactory.newClassPathResource("Evaluation.bpmn"), ResourceType.BPMN2);
-------------

1-The engine will look to the classpath for "Evaluation.bpmn". what next? 
2-Does the engine look to "Evaluation.bpmn" every time a new process initiated by a user??
3- How the engine knows what task is next in a runtime process instance, by using the "Evaluation.bpmn" file or by looking into the database (if yes which field) or somewhere else??

Your help by answering the 3 questions above is highly appreciated.

Thanks,
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://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/20121004/d7067ab2/attachment.html 


More information about the jboss-user mailing list