[jboss-dev-forums] [Design of JBoss jBPM] - Re: process patch files

lucabotti do-not-reply at jboss.com
Thu Jun 14 10:03:08 EDT 2007


Why do not simply add a compatibility flag for the new process description (or for any node of the process descritpion) which could state the compatibility of the new process definition version with older process instances.
When an instance token is signalled, instead of moving blindly in the path, it could check if next version is backward compatible.
Also a node old-to-new mapping kind of descriptor shoud be added, or asked to be resolved at deployment.
This way:

1) I am a process in a node - token - so when i need to move i check if newer process definitions exist and if they are compatible.
2) If it exists, i lookup in the node old-to-new mapping to check the node compatibility and lookup for transitions (and tasks, and actions, and so on...)

Just (a silly?) idea.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054382#4054382

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054382



More information about the jboss-dev-forums mailing list