JBoss Community

How JBPM Interrogate the process definition "evaluation.bpmn"

created by Sadiroveski S in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community