Support Article
Cannot change Property Type after property creation
SA-724
Summary
Once a property is created, Pega 7.1.1 through Pega 7.1.5 does not allow changes to the Property Type.
(This problem does not exist in Pega 7.2.1 and later releases.)
Error Messages
Not Applicable
Steps to Reproduce
- Create a property.
- Save it.
- Open the property again.
- For the Property Type, click Change and select another type.
The Property Type does not change.
Root Cause
A defect in Pegasystems’ code or rules that was corrected as a product enhancement in Pega 7.1.6 and again in Pega 7.2.1.
Resolution
Upgrade to the latest product release.
For Pega 7.2.1 and later releases, you do not have to specify a Dynamic System Setting (DSS) because the functionality is directly supported in the product.
See the Related Content.
Alternative
For Pega 7.1.6 and releases prior to Pega 7.2.1, specify the parameter to allow Property Type changes after property creation as a Dynamic System Setting (DSS).
Owning Ruleset: Pega-Engine
Setting Purpose: prconfig/AllowPropChanges/default
Value: true
The equivalent parameter in the prconfig.xml file is <env name="AllowPropChanges" value="true"/>
However, even with the parameter setting specified, the Property Type can only be changed in Development or Experimental environments. That is, the production level of your system must be set at level 1 or level 2.
Related Content
https://pdn.pega.com/troubleshooting-validation-errors-when-changing-type-existing-field/troubleshooting-validation
https://pdn.pega.com/sites/default/files/help_v721/procomhelpmain.htm#designer%20studio/data%20designer/data-designer-dt-modifying-type-of-existing-field-tsk.htm
Published January 27, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.