i agree with Rainer that API is the best way to go forward.

someting like a migrate method in the ProcessInstance class:

ProcessInstance migrate(ProcessDefinition newDefinition, Map nodeMapping);

the resulting process instance would be a new, cloned object structure with:
 * a copy of the runtime structure
 * a bidirectional link to the old process instance
 * no shared objects to old process instance objects (meaning it must be a deep 
copy) so that the returned result can be saved by hibernate.

so the biggest challenge will be to extend jbpm with a generic mechanism for 
deep copies of the process instance data.  probably that will imply an 
extension of the ModuleInstance interface (a module interface is an extension 
of a process instance for a perticular module)

regards, tom.

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to