def METHOD_NAME(self, my_task):
    conditional, unconditional = [], []
    for condition, output in self.cond_task_specs:
        if self.choice is not None and output not in self.choice:
            continue
        if condition is None:
            unconditional.append(my_task.workflow.spec.get_task_spec_from_name(output))
        else:
            conditional.append(my_task.workflow.spec.get_task_spec_from_name(output))
    state = TaskState.MAYBE if my_task.state == TaskState.MAYBE else TaskState.LIKELY
    my_task._sync_children(unconditional, state)
    for spec in conditional:
        my_task._add_child(spec, TaskState.MAYBE)