title: Anylogic, agents waiting in queue
body: <p>I got 100 agents that are directed to a specific node in a network. The network consist of nodes, attractors and paths.</p>
  
  <p>The problem is; when the agent is going to their node, they are not considering other agents (persons) in the network. I want them to stop if the agent in front of them stops.</p>
  
  <p>I use process modeling library and the line is as follows:</p>
  
  <p>-source
  -move to
  -delay (the agent stop for a moment on one node)
  -move to (specific node)
  -delay (stays in the specific node)</p>
  
  <p>I tried to create a FIFO queue before the delay, but I do not know how to create that for the whole network. Or is it possible to make a statechart for the agents?</p>
  
  <p>PS. I'm new with Anylogic and javacoding.</p>