How to prevent user from turning off primary email channel?

lss123
Tera Contributor

I have a requirement to prevent users from turning off their primary email channel.  We've tested that if they do so, they will not get mandatory notifications.  Even if 'Force Delivery" is checked on the notification configuration, turning off the notification channel from the system settings will prevent the email from going out.  Is there any way to do this?

I've included a screenshot for clarity.  What we'd want to do is make the switch for primary_email be read-only, or otherwise prevent them from toggling it off.  I have tried a business rule on the cmn_notif_device table, and that does force the channel to stay active, however the user can still toggle the switch off (thereby misleading the user into thinking it's off when it's really on).

 

find_real_file.png

1 ACCEPTED SOLUTION

Brian Lancaster
Tera Sage

Got it.  Do a similar business rule on the cmn_notif_device table.  The conditions will looks like this.

 find_real_file.png

 

On the actions tab just choose abort action checkbox as it will not display the message.  note it will look like it still allowed them to disable it but if you go back into the notification you will see it is back to green.

View solution in original post

11 REPLIES 11

Sebas Di Loreto
Kilo Sage
Kilo Sage

I have the exact same scenario.

Even if you made your notification mandatory and "force delivery", the user won't receive the notification simply because they deactivated all channel notification (like primary email) even though we do have a primary email for each use in our system.

Is there a way to prevent them from turning off the primary email channel notification?


If I helped you with your case, please click the Thumb Icon and mark as Correct.


Brian Lancaster
Tera Sage

Try and before update business rule on the sys_user table.  It could be a no code one a well.

find_real_file.png

find_real_file.png

Sorry this will only prevent them from turning off all notification if they click the slider next to allow notifications.

Brian Lancaster
Tera Sage

Got it.  Do a similar business rule on the cmn_notif_device table.  The conditions will looks like this.

 find_real_file.png

 

On the actions tab just choose abort action checkbox as it will not display the message.  note it will look like it still allowed them to disable it but if you go back into the notification you will see it is back to green.