I am currently trying to find a clean solution to change the strategy of the version counting. In fact, If you deploy the same workflow twice, Activiti will add +1 to the current version. I would like to change this behavior to the workflow definition and the process instance definition.
I saw that we can change SetProcessDefinitionVersionCmd changes the process definition version of an existing process instance. I am looking for the equivalent to change the workflow definition during the deployment.