Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

prevent disabling the System notification from preference setting

PrachiI
Giga Contributor

I need to prevent user's to be disable the system notification setting. As there is no attribute in system which will stores the value after enabling/disabling the option. Please kindly help with solution.

1 REPLY 1

Hemanth M1
Giga Sage
Giga Sage

Hi @PrachiI ,

 

System Notification information is stored in the "sys_aggregate_preference" table. A new record is created if a user tries to disable notifications for the first time and the same record is used to track enable/disable status.


You can create a Business Rule or a Flow on this table to check if a record exists. If it does and the status is changing from true to false -> abort the operation or revert the value to true.
If a new record is being created and its value is set to false, -> abort the creation.

 

Ex: 

HemanthM1_0-1762188388776.png

 

Hope it helps if so,

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025