Pkg Rework -No Card_autosave.fsm
The source generates 1 "Cut Schedule" every 40 hours (work week), these cut schedules go to a separator and are distributed into a quantity of Work Orders using pearsont6. As the flow items are exiting this separator they are given a label "WONum". These flow items represent work orders, and are sent to one last separator ("DeviceQtyDist") to be turned into individual "devices", using the logplace distribution.
From here the flow items will go through a tray sealer processor, final inspection queue, final inspection processor and then sent to either of 2 queues, a "Good Device Rack" or a "Rework" queue.
After devices go through the "Good Device" rack they are separated into 1 of 3 queues, and they are separated by the label "WONum".
My question for this model is;
I want to set up the queue's so that they batch the flow items by label "WONum" and will not release the flow items until all the items with the same "WONum" label value have been collected.
Since the flow items are going through 2 separate distributors before reaching the queues, means that the quantity of the flow items can vary from time to time. That is why I cannot set the queue's to have a set value of flow items before sending it to the sink.
Is there a way I can set these queues to collect all flow items of the same label value, despite the quantity changing due to separators?