How to Conduct an Efficient Task Planning?