How to divert 3 different item types to 3 different(respective) processors?

How to divert 3 different item types to 3 different(respective) processors?

prathmesh_khairnar
Not applicable
21 Views
6 Replies
Message 1 of 7

How to divert 3 different item types to 3 different(respective) processors?

prathmesh_khairnar
Not applicable

[ FlexSim 17.1.0 ]

I have queue, 3 different item types are arriving at a queue from 3 sources. I want only one queue for 3 sources. Further from queue I want to divert these 3 items to the 3 respective processors. How can I do that? Like for 2 items, I can do send to port as By Expression.

0 Likes
Accepted solutions (1)
22 Views
6 Replies
Replies (6)
Message 2 of 7

shashikumar_venkatareddy
Not applicable

Dear Prathmesh,

Use single Source and single Queue with 3 type items and select By Expression in flow tab dropdown menu.

Message 3 of 7

prathmesh_khairnar
Not applicable

I want to use one queue for all 3 sources, Is it possible that way?

0 Likes
Message 4 of 7

shashikumar_venkatareddy
Not applicable

Yes......u can use one queue by selecting First Available in the Send to Port dropdown menu.

Message 5 of 7

prathmesh_khairnar
Not applicable

But after selecting First Available, items are not going to respective processors. Items are getting mixed to random processor. I want 3 items to go to 3 processors. Hope you understand what I am asking.

Thank you Sir

0 Likes
Message 6 of 7

mischa_spelt
Advisor
Advisor
Accepted solution

Hi. You can still use Port By Expression and use the default option of item.type. In your sources, make sure you set the item type, for example using the "Set Item Type" or "Set Item Type And Color" options.

Please see the attached demo model send-to-processor-by-item-type.fsm in which I have only changed the Send To Port of the Queue and the On Creation triggers of the Sources.

0 Likes
Message 7 of 7

prathmesh_khairnar
Not applicable

Thank you so much sir

0 Likes