Environment | Model | Versions | Version Flag | Status | Subscription View | Copied From Version | Comments |
Production | Product | V1 | F1 | Open | S1 | - | Version in use |
- First create 2 flags F1 and F2 for version V1 if it does not exist
- Add flag F1 to version V1
- Lock V1 if it is used by multiple users
- Validate V1
- Commit V1
- Create new version V2 from old version V1
- Map Flag F1 to newly created version V2
- Version V2 with Flag F1 will be current version in use
- Create new version V3 from old version V1
- Map Flag F2 to newly created version V3
- Version V3 with flag F2 will be version where you can make modifications
Environment | Model | Versions | Version Flag | Status | Subscription View | Copied From Version | Comments |
Production | Product | V1 | Commited | S1 | - | Locked | |
Production | Product | V2 | F1 | Open | S2 | V1 | Version in use |
Production | Product | V3 | F2 | Open | S3 | V1 | Version available for making modifications |
It means now V2 with F1 is open for use for consumers of Master Data and V3 is available for making changes as well as testing the model. Now assume you are done with your changes in V3 and you want that consumers should start using V3. How you will make it happen? It is simple and you have to follow below steps:
- Validate V2 and V3
- Lock V2 and V3
- Commit V2 and V3
- Create new version V4 from old version V3
- Map Flag F1 to newly created version V4
- Version V4 with Flag F1 will be current version in use
- Create new version V5 from old version V3
- Map Flag F2 to newly created version V5
- Version V5 with flag F2 will be version where you can make modifications
Environment | Model | Versions | Version Flag | Status | Subscription View | Copied From Version | Comments |
Production | Product | V1 | Commited | S1 | - | Locked | |
Production | Product | V2 | Commited | S2 | V1 | Locked | |
Production | Product | V3 | Commited | S3 | V1 | Locked | |
Production | Product | V4 | F1 | Open | S4 | V3 | Version in use |
Production | Product | V5 | F2 | Open | S5 | V3 | Version available for making modifications |
- As the subscription views are created based on the Version Flags and not on Version. So we don’t have to change the subscription views for the newly created version. THIS IS ONLY APPLICABLE IF you add members to entity.
- When you add attribute to entity then all the subscription view referring to that entity, needs to be regenerated to reflect this change. The old view will still be working but will not show the newly added attribute.
- You can't delete attribute if you have already defined subscription view for the same entity and model. If you still want to delete it then you have to first delete the subscription view than delete the attribute and then recreate the subscription view.