I have this piece of code that I need to notify when there is a datetime in the queue to trigger a countdown, but it is not publishing when it is inside the IF, only when I remo