title: Can I limit the number of items going to a station via convey?
body: <p>I'm a newbie with AnyLogic, so please forgive if this is an easy question!</p>
  
  <p>I have a selectoutput block. From this, if false, I want the agent to travel via a convey block to station 1 (From 'current position' to 'station1'). But before the agent goes onto the convey block to travel to station 1, I want it to check whether station 1 has more than 3 agents waiting for it (with 1 agent already in the station, so 4 total). If there are more than 3 agents waiting, I want the current agent to skip the station altogether.</p>
  
  <p>I have tried adding a limit of 1 on the space markup drawn station, along with adding a queue with capacity of 3 into the flow diagram just before the convey block, but the queue does not seem to do anything at all. </p>
  
  <p>TIA for any help!</p>
  
  <p><a href="https://i.stack.imgur.com/yjnRF.png" rel="nofollow noreferrer">A snip of the material flow</a></p>
  
  <p><a href="https://i.stack.imgur.com/0HHPI.png" rel="nofollow noreferrer">The queue settings</a></p>
  
  <p><a href="https://i.stack.imgur.com/s7QuS.png" rel="nofollow noreferrer">The convey settings</a></p>
  
  <p><a href="https://i.stack.imgur.com/g7TiB.png" rel="nofollow noreferrer">The space markup view</a></p>