Modifying WorkflowAdvancementView and TaskModel classes to improve
validation