public void execute(TaskServiceSession taskServiceSession, TaskService service, Task task) {
List<TaskSummary> subTasks = taskServiceSession.getSubTasksByParent(task.getId(), "en-UK");
for(TaskSummary taskSummary : subTasks){
Task subTask = taskServiceSession.getTask(taskSummary.getId());
service.addEventListener(new InternalTaskEventListener(taskServiceSession));
service.getEventSupport().fireTaskCompleted( subTask.getId(),
subTask.getTaskData().getActualOwner().getId() );
}
}