'AnyLogic: "root.rackPick.attach" The agent is not in the network

Truck is not going to its destination point and is showing this error. root.rackPick.attach
The agent is not in the network.

An image of the error: enter image description here

RackPick the exit block image

enter image description here

I'm looking forward to your positive response.



Solution 1:[1]

In the On Exit of the unbatch block type

agent.jumpTo(....);

Replace the dots with the location where your agents are supposed to be (e.g. node). That location should be part of the network that includes the racks.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Emile Zankoul