question

Kamil P avatar image
0 Likes"
Kamil P asked Matthew Gillespie answered

Separation directly from the source into colours

Hello Frineds,

i have a problem about separation from the source output. I want to have two different box issued directly to the queue. When i use queue before next 2 queues, everythink it's allright. But when i delete queue i have a problem

probelm.fsm

FlexSim 19.1.0
queuesourcetriggersflowseparation
problem.png (259.2 KiB)
probelm.fsm (20.4 KiB)
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

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered

You're seeing an issue because Send To Port fires before the On Exit trigger does. It works with the queue because the Queue's Send To Port fires after the Source's On Exit.

To fix it you should set item type and color in the Source's On Creation trigger instead. See my attached model.

oncreation.fsm


oncreation.fsm (19.1 KiB)
5 |100000

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