Delegates are included as recipient even when the original recipient failed by personal notification filters. The system is adding user notification delegates as recipient before evaluating the filter conditions on the cmn_notif_message record.
Steps to Reproduce
- Create a notification on the incident table with no condition.
2. Add a delegate to User1.
3. Add a Notification preference for User1 and add a filter like short description starts with "Test delegate".
4. Create an incident with Short description "Test 123".
5. Check the notification created on the sent mailbox
You will see the notification is sent to the delegate.
The email logs show the delegate user "Alissa Mountjoy" was evaluated before and notification was sent.
Information Notification 'Mary Kay Incident created' (001e8dfc6f1ad10087637b11be3ee40d) included recipients as a delegate of another recipient (see "Delegates"): 'Alissa Mountjoy' (6a826bf03710200044e0bfc8bcbe5dec) EMAIL.34f2850c4f0cd60037d1a9d18110c75c
Select record for action Preview
Information Notification 'Mary Kay Incident created' (001e8dfc6f1ad10087637b11be3ee40d) excluded recipients because user's notification preference "Filter" filtered it (see "cmn_notif_message.notification_filter"): 'Alejandra Prenatt' (22826bf03710200044e0bfc8bcbe5dec) EMAIL.34f2850c4f0cd60037d1a9d18110c75c
The delegates can set personal notification filters to avoid these notifications from being received or the delegates can be removed from the original user.
See related PRB1245551/KB0676112
Related Problem: PRB654225