How to use the process variables of the new version case in earlier versions case

1
0
-1

And sorry in question in unfamiliar English. Please tell me if you have some people to become to you a good idea for the following content.

After the start of the case in the old version of the process, new as you upgrade to a new version of the process that adds a process variable, run the update of the variable of the new version process in REST command from the UI with respect to the case of the old version running processes then, it will become error because the course of as variable is not defined. Even in the case of the old version process, I think there is no way to use the variable definition of new version process.

Comments

Submitted by takuma on Tue, 12/16/2014 - 11:32

Hi LL Thank you for your comment.

I am thinking the following methods as a way to copy the old instance information to the new instance, but wants pointed out if there is a problem. Also, please tell me if there is a better way.

  1. Create an instance of the old process version.
  2. Create an instance of the new process version with additional variable.
  3. Run the jdbcacsess.jar, to access the H2 DB of bonita.
  4. Copy the old instance information to the empty new instance. (Cases ID and data values, status information of human tasks, etc)
1 answer

1
0
-1

Hi Takuma,

Let's take an example : a) Instance/Case N°1 running with old process version 1.0 b) Deploying process version 2.0 (and not removing version 1.0) c) Instance/Case N°2 running with new process version 2.0

If you follow up this steps, the situation will be : - instance/case n°1 will finish with version 1.0 of process - any new instance will start with version 2.0.

If you want instance/case N°1 to use the version 2.0 you will need : - modify/migrate (with some dev) the case to integrate the new changes on 2.0 - Start a new instance with 2.0 and copy the old instance N°1 information/data on this new instance.

Hopefully it helps. Regards, LL

Notifications