As the model works, the results satisfy my requirement,
I record ABC three queues' current number in GlobalTable1,
The "Flow" option in A, I select "Conditional Port", the following is condition,
current.num > 5 && getdatastat(STAT_MIN, gettablerows("GlobalTable1"), gettablenum("GlobalTable1", count, 3)) < 2
I let the queue which current number is bigger than 5 throws a product to the queue which current number is less than 2,
At the beginning, I let Source1's "Arrival Style" be "Inter-Arrival Time", this option can work correctly,
But when I set "Arrival Style" to "Arrival Sequence", and one arrival with quantity 10, this option can't work correctly, can somebody tell me why?