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?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Iterator not grabbing the array in some cases | 4 | 469 | December 7, 2023 | |
| Iterator only passing one sub-array value | 5 | 1199 | December 7, 2023 | |
| Http api array loop. How looping data store is existance | 4 | 439 | September 7, 2023 | |
| How to append item to the Line Items Array | 2 | 932 | December 7, 2023 | |
| How to stop iterator from acting on multiple steps? | 3 | 2876 | June 19, 2023 |
