The easiest way to do this is by using the “JSON” module and creating a JSON structure. In the structure you can define what kind of data you would like to add. You can then also add new values and old value together.
When using an array, take a look at the “aggregate to JSON” if you would like to iterate over the array, and create a new array with the new json structure.
Thanks @Bjorn.drivn,
The JSON data structure is definitely the thing I’ve been missing and I’m going to take some time to learn all about it.
Another solution came to me while I was driving to work today… I have now created the boolean variable that I need earlier in the scenario, and so then was able to select it during the Array Aggregator that created the array that I showed in my first post.