Notify depending on the condition