I have a list of dictionary with 3 Keys in it I want to add a new Key:Value in all the rows so there will be 4 keys after that.
Discussion posts and replies are publicly visible
Hi, you can use the map function for this. We don't have any direct way of doing that we have to apply loop to create a custom map and then use it.
https://docs.appian.com/suite/help/22.3/fnc_system_map.html
a!localVariables( local!xyz:{ a!map(id: 1, name: "Jane Doe"), a!map(id: 2, name: "John Doe") }, a!forEach( items: local!xyz, expression: a!map( id:fv!item.id, name:fv!item.name, newKey1:null() ) ) )