BI 1012 notification to dev for new building IDs
Created by: RujitRaval
Goal: The goal here is whenever the building will not exist in our database we will create a new ID by adding +1 to the maximum ID.
If this happens, we(devs) need to track that. So, whenever this will happen in production we will receive an email.
Also, we don't care about other testing environments.
Test:
- Please review the added condition call to email function.
- I tested it locally with my email ID. I received the email so there is no syntax error.
- Please let me know if the logic needs to be changed.
Issue:
- BI-1012 Devs will get notification whenever a new Building ID is created on prod.