Notification set to 'Off' by default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2012 03:01 AM
Hi,
I've been asked to create a email notification (when an incident is assigned to you) for all the support people but switched off by default, so that they can turn it on themselves if they want it.
I've written the JavaScript to create the notification, for one user so far for testing, but I can't get it to be 'off' by default. cmn_notif_message doesn't have an Active field, and I've tried setting send_email=False.
Can someone please give me some pointers as to where I need to look.
I've attached my script, and the flag I'm trying to set.
Thanks.
Alan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2014 10:56 PM
Hi and thanks for a nice code. I was looking for this solution, but didnt had luck to create such well working code for my business rule.
Absolutelly I will learn and extend my knowledge from the code you created.
Petr