In the attached model logistics-cell.fsm, I’m trying to simulate the following system:
11 sources and 11 queues forming a logistic cell
The operator needs to collect boxes from each queue and after collecting 11 boxes, unload them onto “queue_out”.
I was able to do that, as show in the picture attached picture-1.png, in a similar but reduced model. However, I don’t want to use this logic because I would need to have a lot of lists, travel, load and unload activities in the process flow. My intention is to develop a model that can be scalable, then, if I have 50 queues (just an example) I would not want to have 50 “load" boxes in process flow.
I would like to know how to build this logic using fewer activities. I thought using an assign labels + “increment label” and a loop based on a conditional decide could work, according with the attached picture picture-2.png, but I don’t know how to build this logic properly. I’m facing problems in specifying item and destination to the operator to perform his task.
Maybe I could change the destination reference continually according with a value label. Something like: Queue 1, Queue 2, Queue 3... - destination: Queue+ValueLabel
Or can I do something similar to put this logic on track?