I want to perform a pull from two different queues to a processor. Queue 1 contains items with item.Type=1
and Queue 2 contains items with item.Type=2
. I want to pull from port 1 (queue1-processor) the quantity of item.Type=1
specified in a global table ("GT",1,CurrentDay). Once that quantity is pulled, I want to pull from port 2 (queue2-processor) the quantity specified in the table ("GT",1,CurrentDay). After pulling the specified amount from port 2, I want the machine to stop processing until the next day. CurrentDay
is a global variable that changes every 1440 minutos, every day. How can I do this?