list cdt forEach

Hello,

I have a little problem.

I have a CDT which contains a list variable:  'type!{urn:com:appian:types:XX}XX'(z(List of Text String))

I do a forEach from another list to take values: forEach(local!auxList, fv!item.Variable), and the result is :  List of Text String: 3 items {a,b,c}

Well, i am trying to put that list( {a,b,c}) into the firts CDT in variable "z" but it doesnt works.

                                 I tried to put the foreach inside: 'type!{urn:com:appian:types:XX}XX'(z:forEach(local!auxList, fv!item.Variable)))

                                 and save first in a local variable and then put it: 

                                                              local!aux:forEach(local!auxList, fv!item.Variable)

                                                              'type!{urn:com:appian:types:XX}XX'(local!aux)

Both of them didnt work. Someone knows a way to do it works?

Thank you so much.

  Discussion posts and replies are publicly visible

Parents Reply Children