You should add "switch to waypoint" command from triggered actions tab, not from waypoint.
Triggered actions tab is the third one, right next to payload - name it something like "infantry retreat" (or whatever). Now, when you select AI TASK Push, you will see it listed in the drop-down.