Question
How assign MAP data to a CDT array
Hi there,
I have a map type process variable (maybe name it as "vv") in a process model, with data like this:
{returned=[mat=111, pt=5555, sc=44, bn=EEE],[mat=222, pt=3333, sc=44, bn=III],
PopUpText=No records found,
LoginStatus=true,
connection=xxx}
A CDT "returned" is defined with the 4 fields (mat, pt, sc, bn). And I define a CDT process variable "r1" which can store multiple values. can I use the following to get the "returned" data in MAP variable "vv" to CDT variable "r1"?
save
pv!vv.returned
into:
pv!ri
could anyone know? thanks!
Lin
