I need to build a model that items in the queue should be sent to ports based on downstream processor's status. If processor is in running status, then items in the queue will be waiting to be processed. If processor is Breakdown, then all items that are currently in the queue should be removed to a sink node.
I think I should use conditional port for the out flow of the queue, but it doesn't work as I expected.
I am new to the software, can anyone please help? Thanks.