When do shunting tasks appear?

When the chosen timetable includes trains with station work (uncouple, reposition, etc.). Such trains are marked with a shunt icon on the graph. Tasks open on the Shunting tab.