Expression rule a!update function

Hi Guys!

I have this expression rule:


{
  a!update(
  data: ri!holder.name,
  index: local!indexValue,
  value: "test"
  )
),
  a!update(
  data: ri!holder.age,
  index: local!indexValue,
  value: 23
  )
),
  a!update(
  data: ri!holder.married,
  index: local!indexValue,
  value: true()
    )
  )
}

This is my current process to update the CDT value of ri!holder.name, ri!holder.age, and ri!holder.married
My CDT holder contains: name(array of text), age(array of number), married(array of boolean).

Expected ouput should be:
[name="test",
age=23
married=TRUE]

However Im getting a List of variant where all the values are stored in ri!holder.name:
[name="test";20;TRUE]


Do you have any ideas or suggestion on how to get the expected output?
Thank You!

  Discussion posts and replies are publicly visible