Update/Insert values in the array/rule input in interface

Hi All,

I have a requirement: 

I have a rule input(cdt) ri!details with two field Id,Name. Now i have a local variable array type local!name:{"A","B","C"},

Now i want to save this local!name values into ri!details.Name on button click, like the below :

ri!details.Name:A

ri!details.Name:B

ri!details.Name:C

If i save it like a!save(ri!details.Name,local!name) , it only save the first Name A in all three place.

Thanks in advance.

  Discussion posts and replies are publicly visible