Trouble Appending Data to Array Inside Iterator

I have an iterator function that is going through each line item of an order. For the purposes of this issue, there are two types of items: items that are off-the-shelf and items that need fabricated. Every fabricated item will receive its own subtask record (called ‘Travelers’) that is connected to a project. For all off-the-shelf items, I want to record a list of item names in an array, and then put that array into one of the travelers so that they are not missed prior to shipping. The issue I am running into is that my array only holds the last off-the-shelf item it found, not all of them. Is there some kind of trick to appending an array inside of an iterator loop that I’m missing?