Hello,
I have a simple model with a source, queue, processor, and a sink. The objects are getting the label "ProcessTime" and "DueDate" on creation in the source. What I could not do but want to implement is that as follows: when my operator is available, I want him to load the item with the lowest "DueDate", currently present in the queue. I thought of pushing the items to a list when they enter the queue and then pull from the list based on the query "ORDER BY DueDate ASC". However, I could not make it work. After pushing items to list upon their entry to the queue, operator does not pull anything from the list. I might have done some connection or linking mistakes but I could not find the reason. If someone can help me with this problem, I would be appreciated. Thank you very much.
I am also attaching my flexsim file in case someone want to check it.