You mentioned >> guvnor can save multi versions of  a process define <<. An asset in Guvnor is versioned, however the package pkg only contains the latest version of the asset. Using snapshots allows you to have different package builds which contain different version numbers of your process. I do not see how you can get around what you are trying to do, unless you have an independent asset for each "version" of your process. Can you explain?

Thanks.


On 9/8/11 3:12 AM, jiacc@gillion.com.cn wrote:
 http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/myPackage/s1
http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/myPackage/s2
====================
 
As you approach  , s1 and s2 are two different processes?I need s1 and s2 are two versions of the same process.
 
 
for example , Today I use version 1, tomorrow to upgrade to version 2, this is the same process. Today starts the process instance to run under version 1. Tomorrow starts the process instance to run under version 2.Client run the code does not change.

 


发件人: Tihomir Surdilovic
发送时间: 2011-09-08  13:24:50
收件人: jbpm-users@lists.jboss.org
抄送:
主题: Re: [jbpm-users] process define version control problem jbpm5
In Guvnor you can create any number of snapshot builds of your package. One snapshot can contain version 1 and another version 2 of your process.
Each snapshot has it's own URL you can use to get its pkg, for example

http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/myPackage/s1
http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/myPackage/s2

Hope this helps.

On 9/7/11 11:22 PM, jiacc@gillion.com.cn wrote:
hi,
 
guvnor can save multi versions of  a process define , but we  always give the newest version of the process define in ksession .
 
 in my business system , a process instance use version 1 of the process define , at the same time other process instance use version 2 of the process define.
 
how to do?
 
regards
 
jcc


_______________________________________________
jbpm-users mailing list
jbpm-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbpm-users