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

Hello,

In that case the suers can go to notification preference:-

find_real_file.png

And then under the category disable the particular notification which they don't want

find_real_file.png

By disabling it manually

find_real_file.png

 

Thanks

Thank you! Is there any element id to access these notifications from the pop-up screen?