AnswerHub Upload Issue
Our AnswerHub community currently has a bug that prevents you from attaching your model or other files to your questions. AnswerHub is aware of this issue and they are working on a fix. Until we receive their patch, you can upload your models and other files to FlexSim's file share site. Include the file name in your question so that we know which upload to reference.

question

Gokulakrishnan Kandasamy avatar image
0 Likes"
Gokulakrishnan Kandasamy asked Ben Wilson commented

How do i use on message trigger ( port by case)?

Greetings,

In my model, queue2 should send messages to the queue1 by reaching the content of 6items. How would I close queue 1's port 1 by receiving messonmessage_portbycase.fsmage(using on message-port by case)

FlexSim 20.2.3
flexsim 20.2.3port by caseon message
· 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.

Hi @Gokulakrishnan Kandasamy, was Jörg Vogel'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 and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Joerg Vogel avatar image
1 Like"
Joerg Vogel answered Joerg Vogel commented

you declared a case 1: in switch by case structure on message trigger.

· 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.

Thanks. tried but not working! am i missing something?

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Gokulakrishnan Kandasamy ·

You cannot close only a port. This feature is reserved for developers. You can close only all output or input ports of an object. What you can try, you change the function which sends the items to down stream objects or you add a additional queue objects behind the queue1 and tell the queue at output port 1 to close its input.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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