The decision to modernise legacy systems doesn’t come lightly to companies. We explore where the line is and when you can be sure the benefits outweigh the risks.