I am getting the following alert: This alert is related to the pv!CDT

Certified Lead Developer
I am getting the following alert:

This alert is related to the pv!CDT
There is a problem with task “Subprocess Node” in the process “Process Name”. Invalid type@reason=Type Error: Invalid CDT: Cannot validate type (value in wrong format)

It is a CDT we are trying to pass to a subprocess, this value is NOT being passed by reference. The process instance has CDT^2 and the sub process is using CDT for versions. I looked over both CDTs and they looked identical in data structure. I attempted to use the custom function of cast but it through an error saying I can't cast it to the modern version.

Both CDTs have 26 variables that are all booleans. The process instance CDT has values sets for every variable that it contains. Anyone have any ideas of how I can further debug the problem or fix it?...

OriginalPostID-103839

OriginalPostID-103839

  Discussion posts and replies are publicly visible

Parents
  • Once you update the cdt with any changes, remap the cdt in both parent process and child process. I think it did not happen in your case so its showing specific version with CDT like CDT^2.
    NOTE: If you change the Required value for a process parameter in a linked sub-process after you selected it for a Sub-Process Activity, in order to have those changes take effect when the sub-process is kicked off from the parent process, you need to search for and select the sub-process again in the Sub-Process Activity and re-publish your parent process. If the Sub-Process Activity is attended, make sure you export your form first, so you do not have to re-create it.
    For further reading docs.appian.com/.../Sub-Process_Activity.html
Reply
  • Once you update the cdt with any changes, remap the cdt in both parent process and child process. I think it did not happen in your case so its showing specific version with CDT like CDT^2.
    NOTE: If you change the Required value for a process parameter in a linked sub-process after you selected it for a Sub-Process Activity, in order to have those changes take effect when the sub-process is kicked off from the parent process, you need to search for and select the sub-process again in the Sub-Process Activity and re-publish your parent process. If the Sub-Process Activity is attended, make sure you export your form first, so you do not have to re-create it.
    For further reading docs.appian.com/.../Sub-Process_Activity.html
Children
No Data