Distribution centers (agent) will send a work order to manufacturing centers (agents at multiple locations on GIS map)
At a distribution agent, i added codes below
TestOrder testorder = new TestOrder (this);
// "this" is location of a distribution agent
send (testorder, getNearestAgentByRoute(main.manufacturingcenters));
// send the testorder to the nearest agent
Then i set up "enter" in the manufacturing center agent with Agent type, TestOrder.
However, there is no input in the simulation and shows an error on the code below
send (testorder, getNearestAgentByRoute(main.manufacturingcenters));