Join notification from the device

I did device integration with HTTP and assigned a script for Join notification action. I removed the battery from the device and when i insert the battery back I am not getting Join notification message.What do I need to do to get this message?