For alarms to be triggered in your system, you must create an alarm entity and set up its properties.
As a best practice, give names to alarms that best describe the situation, so it is easy to determine what happened when the alarm is triggered.
Do the following: