hide task

Hide a task automatically

I'm currently developing a Human resources diagram for hiring people. Although the possiblity of failling is always present during the trials, I don't want to show the task of rejection until they have determined that the person failed at some point ( doesn't matter on which task they failed ).