send-to-port-by-percentage-when-there-are-not-matc.fsm
Hello,
I'd like to send items from a processor to one of three queues by matching item types, but whenever there is an item ready to be released from the processer that doesn't have any matching item types in the downstream queues I need to send it to one of the queues by percentage rather than by the first available queue. The best way I can think to do this is to edit the code of the matching item types flow option. I started looking at the code behind the matching item types flow option but since I haven't done much actual code writing in Flexsim I'm struggling to follow the code. Can someone please help me edit the code to follow the logic I want when there are no matching item types? My model is attached.
Thanks.