When a task is added ensure that the previous task, if it exists creates the neccasary outputs for the task to be added. If it does not then throw an exception.
When a task is added ensure that the previous task, if it exists creates the neccasary outputs for the task to be added. If it does not then throw an exception.