question

Talia Z avatar image
0 Likes"
Talia Z asked Ben Wilson commented

Waiting for specific objects to enter queue before routing to conveyors

Hello! I have a global table named 'ORDER_MASTER_AGG' and I am trying to use Process Flow to check if all the trays required for an order exist in 'TRAY_PREP_QUEUE'. Once all the trays have been transported to this queue, they should be moved to 'Conveyor2'. For example, for ORDER_ID = 1, the objects with SKU_IDs {110, 120, 130, 240, 250, 260, 270, 380} should exist in 'TRAY_PREP_QUEUE' before these specific objects are moved into the system on 'Conveyor2'. For ORDER_ID = 2, the objects with SKU_IDs {390, 400, 410} should exist in the queue before being moved to the conveyor. I believe a Wait for Event may work, but am having trouble developing the required logic. I have attached an example model for this and would appreciate any advice or insights you may share.

flexsim-question-objectrouting.fsm

FlexSim 20.0.9
processflowroutingflexsim 20.0.9object routing
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Talia Z, was jason.lightfoot's answer helpful? If so, please click the red "Accept" button on their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept or comment back to reopen your question.

0 Likes 0 ·

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered

I would push to a list "PrepQueue" all the items but partition by orderID, then have a token pull the required number of trays.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.