This repository was archived by the owner on Mar 22, 2025. It is now read-only.

Description
Currently the RTC-alert node detects if a work item with the configured title already exists, and sets the node output message to indicate this condition.
There may be cases where it is important for subscribers to the work item to be made aware of conditions that would activate the alert. For example, it could have been some time between when the alert was initially created. There may be situations where reoccurrence of the same alert should result in a new notification.
This needs to be handled with caution to avoid repeated notifications of the same alert which would result in repeated emails to subscribers. Any update to any property of an existing alert would result in email notification to all subscribers.
There are a few possible things to consider:
- Include an option to re-open a closed work item if the alert reoccurs. The notification would then only occur when an existing alert goes from closed to re-opened.
- Introduce a reoccurred state to the alert work item lifecycle
- Add a new occurrence property that can be updated with the date-time the alert reoccurred
- Update the work item modified property
Perhaps the first option is the best.