My understanding of flow is that it is triggered when the task is neither too easy or too hard. It's a sweet spot that maximizes your engagement with the task at hand.
According to studies done on musical students (for what these studies are worth), the ones who practiced in "flow" progressed much slower than those who constantly and deliberately pushed themselves far outside their comfort zone.