Hi,
unfortunately moving the old processes to the new version is no option. We ofc. use the Versioning to introduce Business-Changes. However, we can not introduce a "Business Change" to older Versions of the process still running, just because of a "technical" Need
to move them to newer definition versions.
So the only Options that are available are:
- Keeping a depcrecated Version of the Classes until all running processes are done.
- Manually altering the serialized BPMN-Diagrams to replace references to the "old" class.
Both are not really satisfying.
I would suggest, that - if activit would address this problem in some way - you extend Activitis way of storing those Information. Rather than storing "com.my.namespace.something.class" in the diagram, just use the simplified class Name, and add a possibility (In the processengine-configuration) to define packages that should be scanned for the respective classes used.
Something like the "PHP-Include-DIR" so to say.
This would also allow to define different "packages" with different implementations for certain delegates, and just replace them by changing the package path to scan for those classes.
Even if not required on a daily basis, this would decouple activiti from the namespace-layout of the containing project.
(Still seeing Forward to more answers, maybe there is another Option than the two mentioned above?)
best regards,
dognose