storage event of task, when the tasks should be set discarded