AnsweredAssumed Answered

how process instance know, the next step to execute

Question asked by meenakshi on May 1, 2015
Latest reply on May 13, 2015 by trademak
Hi,

I would like to know how bpm files processed.
When We  Configure xml file like below then what happens .
  <bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
  <property name="deploymentResources" >
      <list>
         <value>classpath*:/com/workflow/bpmn/*.bpmn20.xml</value>
      </list>
   </property>
</bean>

Does bpm files parsed and stored in database and when next step to process in process instance , it will see the next step from database or from the war file ?
When 2 versions of bpm files are available then, how it sees the next step to process, because in war file there will be only one file for giving deployment key and I observed that if there are some process instances available for old version of bpm, and you complete the task , then it takes the next step of old version . If it is processed from the war file then how it knows the old version of bpm , because war is having only new bpm and if it is stored in the database , then which table holds the bpm file, I see only the name of the bpm file.

Thanks a lot
Meenakshi

Outcomes