The case is that whenever a list becomes empty, it is being refilled from another list. That part works, but I need it to be triggered whenever the content of the list becomes 0 (like no green dots:)
But no matter what I choose in the wait for event on the list, it doesnt fire. I even tried to add it as a global list, based on the input from another thread. Its the Wait for Event that needs to trigger when BufferLane1ActivePallet content = 0. It needs to act as a gate, thus if the token inside LoadNextPallet hits Wait For Event it should let it pass if content = 0.
So maybe im using the wrong type here. I also considered using the Decide with a condtion like List(“BufferLane1ActivePallet”).entries().length < 1