AnsweredAssumed Answered

Should deploymentResouces in SpringProcessEngineConfiguration match *.bpmn pattern only?

Question asked by gul on Jul 21, 2015
Latest reply on Jul 23, 2015 by jbarrez
I have my activiti process definition xml's as below:
/src/main/resources/processes/activiti/process1-activiti.xml
/src/main/resources/processes/activiti/process2-activiti.xml
/src/main/resources/processes/activiti/process3-activiti.xml

and I am referring them through SpringProcessEngineConfiguration bean  in /processes/process-context.xml

<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
      <property name="dataSource" ref="ACT_JdbcDataSource" />
      <property name="transactionManager" ref="ACT_transactionManager" />
      <property name="databaseSchemaUpdate" value="true" />
      <property name="jobExecutorActivate" value="false" />
      <property name="asyncExecutorEnabled" value="true" />
      <property name="asyncExecutorActivate" value="true" />
      <property name="deploymentResources" value="classpath*:/processes/activiti/*-activiti.xml" />
   </bean>


but non of the resources get deployed.  Is it mandatory for the process definition xml's to end with ".bpmn.xml"?

Outcomes