Posted: 22 Dec 2016 5:26 EST Last activity: 4 Oct 2018 13:54 EDT
Type change for existing property
Pega 7.1.9 Platform - Suppose there is one property <GroupNumber> is created with integer data type in 01-01-01 version and assume code moved to QA env too.
Now my current running version is 01-01-04, as per latest changes, need to change the data type to Text. It won’t allow us to change the data type even withdrawn in 01-01-04 version and try to create a new one with same name .
It allows us to create a new one with the same name if we withdrawn in current version and create in super class or next immediate class.
Is there any feasible solution for this to change the data type of existing property
***Updated by moderator: Lochan to add Categories***
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
One word of caution here. This can prove a little trickyy , for reasons of backward compatibility. The change could affect the schema datatype and potentially require data conversion. If the property is referenced in activities and other rules, at least some of those rules may depend on the type of the property, producing different results for different types.
Additionally, if the property is referenced in Java code, the code may malfunction as a result of the type change.
If you are sure that no processing is using the property, you can delete the property or skim to your version that contains the correct property type However, if you have a version in production, and think you need to make a change to a property type, it is usually better to create a new property (with a distinct name) of the new type and transition to the new property.
Posted: 5 years ago
Posted: 23 Dec 2016 2:02 EST
Vangapandu Kavileswar (Kavileswar)