How to disable email notifications by default until users subscribe from their profile?

Umesh Kumar Gup
Tera Contributor

Scenario- On incident form when Reassignment Count is greater than 3 then a notification 'High assigned to count' should be triggered to the manger of assignment group. When this notification is triggered first time,   this notification should be disabled in Notification preferences list of all users so that some @specific users can opt-in/subscribe this notification.

I have created a new notification 'High assigned to count' on incident table.

When to send - condition set to     Reassignment Count is greater than 3.

                                                                      AND                 Reassignment Count changes.

Who will receive- Assignment group.manager

This notification is being triggered when Reassignment Count is greater than 3.

But this notification is being automatically enabled in Notification preferences list of all users.

The actual requirement is- This notification should be disabled in Notification preferences list of all users so that Some specific users can opt-in/subscribe this notification.

wwar1ace

Michael.Fry

pradeepksharma

Slava

dave.slusher

harshvardhansingh

prabhat-awc

1 ACCEPTED SOLUTION

Brian Dailey1
Kilo Sage

Hi Umesh,



You can add a business rule on the Notification Messages table [cmn_notif_message] that will set the message to 'Unsubscribed' automatically when it gets created for your particular notification template.



  1. Create your new business rule on table [cmn_notif_message].
  2. For "When to run", specify on 'Insert'.
  3. Set the Filter Condition to when "Notification Message is ... (choose your desired notification)".
  4. Under "Actions", have it set "Filter To Unsubscribe".


Now whenever a new notification message is generated to a user for this particular message, it will be unsubscribed.




Thanks,


-Brian


View solution in original post

5 REPLIES 5

@Brian Dailey Can you please suggest what is the field that needs to set to "Filter To Unsubscribe" in point 4