[jboss-user] [jBPM] - Re: Process Version

Esteban Aliverti do-not-reply at jboss.com
Thu Nov 17 03:02:46 EST 2011

Esteban Aliverti [http://community.jboss.org/people/eaa] created the discussion

"Re: Process Version"

To view the discussion, visit: http://community.jboss.org/message/636918#636918

As far as I remember, 'version' attribute is not being used by jBPM core. If you want to have a new version of a process, it must have a different id.
jBPM5 supports 3 different ways to handle new "versions" of a process definition:
1. New version is only applied to new instances: in this case, the old instances continue using the old definition and new instances use the new one. Here, the whole responsibility is thrown upon client (API user) shoulders: you must assure that both versions are in the kbase and that whenever you start a new process you are using the correct (newest) id.
2. Process instance migration: jBPM5 has some API that allows you to migrate running instances of your processes to a newer version. Again, newer means different id. Once all your instances are migrated you no longer need the old definition of the process in your kbase. Process instance migration is now always a trivial process and in many cases is not possible to do it.
3. The third approach can only be aplied to certain processes and consists in abort all the existing process instances and then start them again with the new definition (again, different id).

For more information please read this section of jBPM5 documentation:  http://docs.jboss.org/jbpm/v5.1/userguide/ch05.html#d0e1768 http://docs.jboss.org/jbpm/v5.1/userguide/ch05.html#d0e1768

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111117/56ab7224/attachment.html 

More information about the jboss-user mailing list