How to turn off the Notification Preference in System Settings on action of a checkbox?

velvizhisujatha
Tera Contributor

Hi Team, 

I'm facing an issue based on the requirement we received, that users with ITIL role should have the ability to suppress the email notifications that needs to be sent. 

So I have created a checkbox, Disable Notification.

Now how to make the toggle button under notifications to be turned off on click of the checkbox. 

find_real_file.png

I have tried to make the system property to true/false using a BR, but occasionally emails are getting triggered and not stopped. 

Please help!

 

1 ACCEPTED SOLUTION

Saurav11
Kilo Patron
Kilo Patron

Hello,

If you are doing it on the User table there is already a field called Notification

find_real_file.png

So, if you just enable or disable it based on that the allow notification on preference will also automatically change

find_real_file.png

If you do not see the field on the User form just make the below client script on user table as false

find_real_file.png

Please mark answer correct/helpful based on Impact

View solution in original post

6 REPLIES 6

Saurav11
Kilo Patron
Kilo Patron

Hello,

If you are doing it on the User table there is already a field called Notification

find_real_file.png

So, if you just enable or disable it based on that the allow notification on preference will also automatically change

find_real_file.png

If you do not see the field on the User form just make the below client script on user table as false

find_real_file.png

Please mark answer correct/helpful based on Impact

How about accessing the categorized specific email notification to turn it off? 

Hello,

For that we do not have any OOB setup unfortunately.

Thanks.

Oh no! Is there any property or preferences table for accessing that? 

Because they don't want to turn off the complete notifications because it stops all the notifications irrespective of the module.