Add task and condition delegate