How to make AGV move forward into the path marked by the red circle and then back out?

AGV moves forward to feed, then continues to retreat to the main route before moving back? - Process Modeling - Visual Components - The Simulation Community

How should this be implemented?