The goal is to add a new alarm to the alarm list when a device (hardware) was deleted.
It should be clear in the alarm line which hardware was deleted (Name).
I managed to detect when this happens and get the FQID of the hardware (source Item).
The problem is when I create a new alarm and set the Item in the eventheader as the source, no new alarm is added. I suppose this is because the Item doesn’t exist anymore. (unknown source)
How can this be solved? Is there a way to create a new alarm with an unknown source?
Please try this unmodified sample with your server and let’s see if it works for you too. (FYI: it took a few minutes for me until I got updates on the sample)
Also, we are suspecting if your server might have special settings…. Can you please try your code (or the sample) with another server?