The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Notification set to 'Off' by default

aedwards
Kilo Explorer

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.

5 REPLIES 5

Pastupe
Mega Guru

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