@Jordan Johnson, @Phil BoBo, @Matthew Gillespie, @Matt Long, @anthony.johnson
Hi All,
I am trying to use the Query in an Acquire but it does not work properly.
The version of my Flexsim: 2020.1.3
I have three tasks. Two of them need two operators and one of them needs one operator, which has been assign by labels and recall later in Acquire resource. There are only three operators in my model.
Also, I have two kinds of priority: Overall_prio and Prio. It is like external (Product production priority) and internal priority (task priority), which I need it for the rest of my process flow.
Overall_prio = 1 means that it has the highest priority among other products and it should be done in the first place.
Prio = 1 means that it has the highest priority among other tasks related to the same production.
Tasks are pushing to the list, and pulling by Query ORDER BY prio ASC, overall_prio ASC that is ok and I need it this way.
I am want to assign operators to the tokens in this order:
first: production 1, task 1
second: production 2, task 1
third: production 2, task 2
Although I define ORDER BY Puller.Prio ASC for Acquire operator, but it doesn’t work right and the last task (production 2, task 2) acquire operator before production 2, task 1.
Thank you in advance,