Hi, I have nested objects in an array. The objects are the same structure. I want to add together all [array][amount] values (which are all numbers) where x can be any number up to around 40, to create a new field [amount-sum] where this arithmetic is stored.
There is not a set amount of objects in each array and so this method does not work:
event.set( "amount-sum", event.get( "[array][amount]" ) + event.get( "[array][amount]" ) + event.get( "[array][amount]" ) )