I'm trying to reference an internal list in an object process flow, but it instead references the singular original list in the window, not a "per object" list like I want. See the "debug contents" label applied to tokens for the decision directly below it. Screenshot and model below:
Context: we want to use bi-directional conveyors to take product through intersecting routes. I'm doing this using two lists per conveyor: a Global List "Queue," and an internal "Reservations" List. When product exits stations, it stops and pushes itself to each "Queue" list for the conveyor in its route, sending itself to its puller in route order. Conveyors manage these Queue Requests, pulling pallets when they can take them. Whenever product gets pushed to its Queue or exits the conveyor (thus completing its reservation for its route) the conveyor assess the first entry in Queue and pulls it into its personal Reservations List if Reservations is empty, otherwise it checks to see if the target direction of the first in Queue matches the target directions of the product in its Reservations. If it matches, it pulls it into Reservations, otherwise it waits for Reservations to empty. This last bit is where I'm stuck. I can't peek at the first entry in Reservations (named Content in model) per conveyor successfully.
I'd also accept a constructor for internal lists, but right now the only list contructor I can find creates references to pre-existing global lists.
If I need to, I can manually create Global Lists for all the Conveyor Reservation Lists too, but I'm hoping we can figure this out for scalability.
Thanks in advance!