Business model version?

1
0
-1

From my understanding The portal treat each version of a process as a different one, but what happen if I decide to change the business model for one of the process version, let´s say I´m in a production environment and I got a process A then I decide to upload a new version of process A (A.1) but it have a slightly different business model is there a way to work with both business model together or the importing process will overwrite the old business model...?

Comments

Submitted by Sean McP on Thu, 12/10/2015 - 08:15

regardless of the answer, which I hope Bonitasoft will soon give, and you are right it is not clear what happens in this case, I always give my BDM's a version number at the end...

myBDM_v0101
myBDM_v0102 for minor changes
myBDM_v0103 for minor changes

myBDM_v0201 for major changes
myBDM_v0202 for minor changes

etc.

I't the only way to be safe...

regards
Sean

1 answer

1
+2
-1
This one is the BEST answer!

Hi,

Bonita BPM only support one version of Business Data Model (BDM). That's true for both development environment (i.e. Bonita Studio) and production (your Bonita BPM server).

When you are in development, it is usually safe to do all types of modifications to BDM as you can safely drop all existing content.

Once you have deployed your BDM in production, you need to make sure that you only do modifications that are compatible with the initial BDM definition you deployed.

Compatible modifications are mainly: * Addition of new objects * Addition of new attributes (without constraints)

You should avoid the following modifications: * Addition of constraints: mandatory, unique (e.g. making an attribute mandatory will not work if existing object instance does not have a value for this attribute) * Deleting an object or an attribute if they are used by a deployed process * Deleting an attribute that use another object for type definition * Changing type of an attribute

If you only do "compatible modifications", your data should remain unchanged.

If you are removing objects or attributes that are not used by any process associated data will be deleted.

Comments

Submitted by mzhu on Thu, 12/10/2015 - 15:09

And what happen to the existing data in the BDM? if I import a new one will I lose the previous data?
thnx in advance

Submitted by antoine.mottier on Thu, 12/10/2015 - 17:06

I edit my answer to clarify.

If you only "add" objects/attributes all previous data will remain available.

Only if you delete objects or attributes you might loose associated data.

Submitted by mzhu on Thu, 12/10/2015 - 18:13

I did some test by myself, now I understand better thnx a lot for your help!.

Notifications