We are trying to update a value in a PV which is a complex CDT. In order to

We are trying to update a value in a PV which is a complex CDT.
In order to do that, We are trying to retrieve a PV using Get External P Vs Activity Task.
But PV is a complex CDT due to which we are getting a null value when using the above activity.

Is there any way to retrieve a PV with complex CDT using the Get External PV activity or is there any other way to do it?

Any help here is of a great help for us.

OriginalPostID-146490

OriginalPostID-146490

  Discussion posts and replies are publicly visible

Parents
  • Get External PV will return null when you are trying to retrieve previous version of CDT PV data by pointing latest CDT definition, previous versions CDT to latest version CDT is failing when you look into application server logs. you have below options based on your scenario
    1) if you want to retrieve the previous versions of CDT PV and process instance is completed, extend the Get and Set External PV plug-in by adding new functionality as converting old CDT PV variables to latest CDT PVs. about how to convert previous version of CDT to latest version CDT, please "CDT cast" plug-in code.
    2) if you want to retrieve the previous version of CDT PV and instance is active, use the "process upgrade" plug-in.
Reply
  • Get External PV will return null when you are trying to retrieve previous version of CDT PV data by pointing latest CDT definition, previous versions CDT to latest version CDT is failing when you look into application server logs. you have below options based on your scenario
    1) if you want to retrieve the previous versions of CDT PV and process instance is completed, extend the Get and Set External PV plug-in by adding new functionality as converting old CDT PV variables to latest CDT PVs. about how to convert previous version of CDT to latest version CDT, please "CDT cast" plug-in code.
    2) if you want to retrieve the previous version of CDT PV and instance is active, use the "process upgrade" plug-in.
Children
No Data