Releasing items from one queue to another only if the second queue is empty

Releasing items from one queue to another only if the second queue is empty

akila_indeewara_kulathunga_wad
Not applicable
18 Views
2 Replies
Message 1 of 3

Releasing items from one queue to another only if the second queue is empty

akila_indeewara_kulathunga_wad
Not applicable

[ FlexSim 24.1.0 ]

I want the queue 2 to release items to queue 3 only if the queue 3 is empty. How is it possible to do that?

Sample Model2.fsm

1717516807433.png


0 Likes
Accepted solutions (1)
19 Views
2 Replies
Replies (2)
Message 2 of 3

moehlmann_fe
Observer
Observer
Accepted solution

When an item enters Queue3, use the On Entry and On Message triggers to close the input after some small amount of time (to allow for items to enter in that instant).

In the On Exit trigger, open the input again once the last item exits.

sample-model2_1.fsm

0 Likes
Message 3 of 3

Jeanette_Fullmer
Community Manager
Community Manager

Hi @Akila_indeewara_kulathunga Wad, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of 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 comment back to reopen your question.

0 Likes