Hello, I have an issue wherein I am running a report within a model a

Hello,

I have an issue wherein I am running a report within a model and saving the report output to a cdt. One of the report columns is a multi-value pv, but if I set up my cdt node to store multiple values, I can't save the report output to that node, and if I set up my cdt node to only store single values, only the first value of the multi-value pv is saved in that cdt node. I've tried some combinations of using the joinarray function within the apply function, but this isn't helping. Any help with this would be greatly appreciated.

Thanks,
Dylan...

OriginalPostID-67387

OriginalPostID-67387

  Discussion posts and replies are publicly visible

Parents
  • Give the functions externalize/internalize a try.

    I have some models that have a PV of type CDT as well as a PV of type text. Whenever I change data in the CDT I externalize the CDT to the text PV.

    To get the data into another process I use a report which has a text column for the text PV and use it in a "Execute Process Report" node. Then I internalize this into a PV of the same type as the CDT.

    This even works for different versions of a CDT when you have older running instances of a process. In this case fields are mapped by name.
Reply
  • Give the functions externalize/internalize a try.

    I have some models that have a PV of type CDT as well as a PV of type text. Whenever I change data in the CDT I externalize the CDT to the text PV.

    To get the data into another process I use a report which has a text column for the text PV and use it in a "Execute Process Report" node. Then I internalize this into a PV of the same type as the CDT.

    This even works for different versions of a CDT when you have older running instances of a process. In this case fields are mapped by name.
Children
No Data