Its also apparently speed related - below a certain speed, can't be bothered to look in the manual but its either 40 or 50mph, the car will undertake regardless. I used the term apparently speed related because this speed limit appears not to be a hard and fast rule as I have had AP want to merrily undertake at higher speeds than 50 mph, some of those times on long motorway exit lanes, eg between M25 clockwise J11 & J12 even if not at that point marked as an exiting lane, but in other locations, no obvious reason. It also can only detect an undertake on an adjacent lane.