I created a process flow to stop the items on the stand by closing the port when a flow item enters and then checks the content of the queue, robot, agv, and OP20_Load before opening the port if they are all clear. The process should then send the flow items to the respective queue using the robot -> OP20_Load -> AGV.
The items are not stopped correctly right now and is also throwing an index error. The token in the stand2 process flow never moves past the close output port custom code. Please take a look at process flow2, any help would be appreciated. Thanks.