Hello everyone,
in the attached model. one by one main product is coming from Queue1 and then on machine one,two and three main product get some sub-items in a lot as described in label tab of each sink of corresponding machines.with the help of sink i am just tracking my lot size getting used i am not interested to send them manually to Respective processors. in on entry trigger of each machine i made a code which help to supply next batch from the respective queue to sink as 80% of the item get used. My mean as processor use 80% of batch next batch should arrive on the sink. it is working perfectly if i am not using queue6 which is connected to source 2 for centralized products or we can say kind of warehouse here. what i am trying here is that as 80% of the item gets used on respective machines new item must get enter in respective queue. for example, as 40 item get used by machine one(LOAD_H) a message should go to the main queue which is queue 6 to send a new batch to queue2 and from queue2 to sink1. i tried to assign a code logic in on entry trigger of queue 2 for close input by putting some if condition. but i am not getting what pull strategy i should use from queue 6.the same it should work for other queues.