I would like to store array values of a process variable into a cdt. For exampl

I would like to store array values of a process variable into a cdt. For example, I would like to store dept variable with values :{"Accounting","Finance","Operations"} to a cdt deptDetail with values {dept:"Accounting", deptSalary:""}, {dept:"Finance",deptSalary:""}, {dept:"Operations", deptSalary:""}. How can I write a loop function to store a process variable of multiple type and store value in a cdt by row? I am using a script task output section to write this value. I have used appended to list besides using stored values, but its combining all the departments and put them in a single row of cdt.
Thanks!

OriginalPostID-161479

OriginalPostID-161479

  Discussion posts and replies are publicly visible