Hello,
I'm a Flexsim beginner user.
I'm trying to figure out how to take a decision (using the Process Flow tool), based on the content of a Queue named "InitialCerclageStock". I need to move objects contained into a queue "Queue_NextFO" (which value changes) to that queue ("InitialCerclageStock").
Now, I have an initial queue ("MasterStock") where there are several objects, each one represents a fabrication order (which contains several objects inside). The purpose is to unpack one fabrication order at time inside the queue "Queue_NextFO" by using the Separator tool.
Once the fabrication order is unpacked, I have several identical objects into the queue "Queue_NextFO" which must be moved inside the line. So, all components of that fabrication order must be moved (all at the same time) into the new queue called "InitialCerclageStock". This procedure must be performed only when that queue is empty. To check its status I have use the decision tool with the code "model.find("InitialCerclageStock").subnodes.length == 0"
The problem is that it doesn't work or when it works, it moves only one component (instead of all the components of the FO).
Thanks.