I recently updated a CDT, which is referenced in a process model subprocess. The

I recently updated a CDT, which is referenced in a process model subprocess. The CDT is passed by reference to the subprocess.

Existing processes on my development server are now broken because they can't call the subprocess with the older version of the CDT. The error message reads: "The following process process parameters were of the incorrect type: ...". The newer version has minimal changes: I just updated the VARCHAR size of a text field.

I have never had issues like this before, even when adding new fields to a CDT. I am very concerned about pushing this build to our production server. Is this a problem with Appian 7.2? Is there any way I can fix the broken processes?...

OriginalPostID-71541

OriginalPostID-71541

  Discussion posts and replies are publicly visible

Parents
  • This particular application relies on CDT's by reference because the process contains inner loops: one Review to many Review Stages, one Stage to many Cycles.

    It's absolutely necessary to encapsulate the stages and cycles as sub-processes, and it's also necessary that the base process model be updated real time with the changes to the CDT's from each cycle.

    When I decided to pass by reference, it seemed like the right decision because of the nature of this particular business process and because the CDT's can be large and I wanted to conserve memory usage.

    Fortunately these CDT's are pretty static. I hope I can reverse the changes by reverting the XSD's or I'm going to have a very big problem with production processes.

    I wish the warning not to pass CDT's by reference wasn't buried in the documentation. I went to training AND read through the docs when I started developing on the platform, and still somehow missed this.
Reply
  • This particular application relies on CDT's by reference because the process contains inner loops: one Review to many Review Stages, one Stage to many Cycles.

    It's absolutely necessary to encapsulate the stages and cycles as sub-processes, and it's also necessary that the base process model be updated real time with the changes to the CDT's from each cycle.

    When I decided to pass by reference, it seemed like the right decision because of the nature of this particular business process and because the CDT's can be large and I wanted to conserve memory usage.

    Fortunately these CDT's are pretty static. I hope I can reverse the changes by reverting the XSD's or I'm going to have a very big problem with production processes.

    I wish the warning not to pass CDT's by reference wasn't buried in the documentation. I went to training AND read through the docs when I started developing on the platform, and still somehow missed this.
Children
No Data