I want the process variable type to be updated with the current version of CDT f

I want the process variable type to be updated with the current version of CDT for all the active instances.

I tried below expression version to cast to current version , but that doesnt seems working
forum.appian.com/.../

Any approach for casting CDT to current version ?

Thanks!

OriginalPostID-158855

OriginalPostID-158855

  Discussion posts and replies are publicly visible

Parents
  • If I understand your requirement correctly, I think the second reply should help you with this:

    "For example, if the target model has a PV (`pv!person`) of type Person^2 and the source model has the same PV but of type Person, the process will not upgrade because the CDT types are different."

    Therefore a possible solution is to add add a process variable of the new type leaving the existing one pointing to version ^X of the CDT then remap nodes to point to the new variable which will be indeed of the updated verison.

    For backwards compatibility in processes Appian doesn't let you update Person^2 to Person since there can be places where the mappings to fields won't match.
Reply
  • If I understand your requirement correctly, I think the second reply should help you with this:

    "For example, if the target model has a PV (`pv!person`) of type Person^2 and the source model has the same PV but of type Person, the process will not upgrade because the CDT types are different."

    Therefore a possible solution is to add add a process variable of the new type leaving the existing one pointing to version ^X of the CDT then remap nodes to point to the new variable which will be indeed of the updated verison.

    For backwards compatibility in processes Appian doesn't let you update Person^2 to Person since there can be places where the mappings to fields won't match.
Children
No Data