I'm trying to figure out why my pull from a global list is not working correctly.
I have a source that creat 3 lot tokens (representing a process lot) at t=0 each token is assigned a priory using the token id. The tokens are push to a list (Lots) and wait until it is pulled.
Each time a lot token is pushed to the list or when an operator/tool is release, an event source is used to create a puller token. The puller token is processed in the Select Lot code to determine if any lot token is ready to be processed and set a canStart label to 1. The Pull from List will pull lot token where canStart =1. Currently, the canStart is set to 1 if the priority is 3.
The pull logic is not pulling the expected token (with priority), or any token for that matter. It seems to work if I change the condition toe priority = 3, but in doing so, the Select Lot logic is not applied.
Any ideas?
Thanks,
Hai