Method for converting TaskIdTree to plain list introduced