Append Values

Certified Senior Developer

Hi,

I have a requirement to append the values of a particular computation to a local variable using append function 

The rule goes like this : 

a!localVariables(

local!data : {"x", "y", "z", },

local!finalValues,

a!forEach(

items: local!data,

expression: append(

local!finalValues,

performSomeComputation(fv!item)

)

)

)

now the problem is, the local variable is not getting updated no matter what, I tried using update dictionary as well as insert(local!finalValues, length(local!finalValues) + 1, fv!item) .. but still it wont append .. is there any other method I can use to append values ?

  Discussion posts and replies are publicly visible

Parents Reply Children