- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2015 11:06 PM
Hi all,
I want to disable notification for all users for Temporary purpose. Anyone can suggest me , how to achieve this using Script.
Thanks & Regards
Govind Kumar Sharma
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-06-2015 01:00 AM
Help me understand this.
Why do you need to write a script when you can do this by simply unchecking the checkbox?
Or just navigate to user table and add the 'Notification' field to list view. Double click on notification field and select 'Disable' for a record. Now right click on the header and click 'Update All'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2015 11:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2015 11:36 PM
Hi Gurpreet,
Thanks for reply. I want to disable all notification.I know this this solution. but I want to do this using script. can you please guide me on this.
Thanks & Regards
Govind Kumar Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-06-2015 12:06 AM
Hi Govind,
I am not sure if it will help or not but all i know is , Devices for notification preferences for all users stored in cmn_notif_device table . Thus un checking active for all devices should disable the notifications but not all notifications. if a notification is configured to be send to a user the system first check for the primary notification device of type email and if its not found then it will send email to the email field in the user record. You could inactivate all records using script but remember to keep a backup. There will be some notification devices which are already inactive and if you are inactivating all the email devices then you will lost the record that which were inactive earlier.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-06-2015 12:14 AM
There is a notification field on all the user records. Query sys_user table and set it to 'disable' using script for all the users.