ONT5.fsmI am building a model where a source will create a batch of boxes and create them in an "IB" queue. This triggers an associate to come and start pulling the boxes one by one to carry them to an "OB" queue. I want to have each IB and OB to be representative of one door, and when the IB portion is in use, the OB queue cannot be added to (rather it would go to a waiting queue). I did this by creating each IB queue and a group and resource, and the same with OB. My thought is to use a "wait for event" flow to say that when an IB queue is emptied, release the resource and obtain the OB queue with the same label number. And then when that queue is done batching (to 30 or after 3600, whichever comes first) release the OB queue. The issue is that if one side of the "door" is in use I do not want to other to be available for use.
I have attached the base of my model.