How to save a failing digital transformation

Is it time for leaders to embrace failure as a chance to learn and factor it into change programmes so that success is assured more quickly?