AnsweredAssumed Answered

Best way to upgrade workflow definition

Question asked by muralidharand on Oct 23, 2012
Latest reply on Nov 1, 2012 by muralidharand
Hi all,
What is the best way to upgrade workflows?

I created first version workflow, used amp module to install it and this is installed fine.
After some days, I've changed the same workflow definition for various reasons and there were no java code change also.
I've updated the workflow definition and update the module version in the module.properties file.
Now I want to install it by using amp module.
So, rebuilt the amp and I'm trying to install it, but it is not deploying the latest workflow definition file.

Module context file :


<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<bean id="wf.workflowBootstrap" parent="workflowDeployer">
   <property name="workflowDefinitions">
      <list>
         <props>
            <prop key="engineId">activiti</prop>
            <prop key="location">alfresco/module/cliqwf/wf1.bpmn20.xml</prop>
            <prop key="mimetype">text/xml</prop>
            <prop key="redeploy">false</prop>
         </props>
      </list>
   </property>
</bean>
</beans>




Please let me know, what is the best way to upgrade existing workflow using amp module or suggest me any other way?

Outcomes