question

Marco Busatto avatar image
0 Likes"
Marco Busatto asked Jason Lightfoot edited

How to make the Task Executer wait until a queue is empty?

Hi,

In my model (flexsim-transfer-question12.fsm), I want the task executer "Transfer1" to take 18 boxes from the queue called "Only boxes" to the queue called "RM1 buffer" and to wait until the RM1 buffer is empty again before travelling back to its origin.

I can see that the task executer "Transfer1" moves back to pick up 18 more boxes as soon as there are 18 boxes ready in the queue "Only boxes" instead of waiting for the "RM1 buffer" to be empty first.

How can I do to make the Transfer1 wait until RM1 buffer is empty before it travels back to its origin?

Thank you in advance!

process flowqueuetask executerwait for event
· 2
5 |100000

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

1 Answer

Braydn T avatar image
0 Likes"
Braydn T answered

@Marco Busatto

The easiest way I can think of is to add process flow for Transfer1's logic, and add a wait for event before you release Transfer after it drops off the items at RM1.

5 |100000

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