Hello,
In this simulation pullstrategy_priority.fsm, I created 4 products in 4 different queues, each with a different priority, but giving higher importance to priority 1. These products are picked up by the transporter according to their priority. It works well, except for the first item taken by the transporter from queue 1, which is taken independently of its priority.
Additional information: these products are dispatched to a combiner, where they will be packed until a certain number of items is reached, depending on the product type. I used queue 5 before the combiner, as the combiner doesn't have a pull strategy.
I think it is related to the initialization of the variables in the code developed in the pullstrategy of queue5.
I would appreciate if someone can help me.