We have a requirement to change the type of one the field from Integer to Text f

We have a requirement to change the type of one the field from Integer to Text field in a CDT. This CDT is consumed by Web services so the option to rename is not working. When we updated the CDT with modified version of XSD using "Create New Version of CDT" in designer mode. All the set values in the Older processes Instances, where this CDT is being used, are not retaining the old values for any fields.
Please advice.
Thank you

OriginalPostID-179452

OriginalPostID-179452

  Discussion posts and replies are publicly visible

Parents
  • It seems process upgrade does not update the type of a pv and does not work when the pv type is different for the process and the target model. I reckon the way to address this would be to create a new pv of the CDT type, replace the ^1 pv with this new pv everywhere in the model and then run the upgrade. The ^1 pv remains but this way you can ensure that it is not used.
Reply
  • It seems process upgrade does not update the type of a pv and does not work when the pv type is different for the process and the target model. I reckon the way to address this would be to create a new pv of the CDT type, replace the ^1 pv with this new pv everywhere in the model and then run the upgrade. The ^1 pv remains but this way you can ensure that it is not used.
Children
No Data