Applying a sub-task template