Enabling and Disabling Notification Field

vipinmaniappan
Kilo Contributor

Hi,

Can someone please help me with the layout we have in the user form. I am looking to see how to add the Notification Field in the Incident/Service Request Form Field. For example a new Incident logged in Service Now shows the priority and impact along with CI, etc. I am looking for the Notification field so that we can enable or disable the notifications on that particular ticket. Let me know if this needs more explanation.

Cheers!

Vipin

3 REPLIES 3

Jag5
Tera Guru

Hello Vipin,



If you want to enable/disable the notifications upon insert/update of incident record. You can create a new field of type True/False labeled "Enable Notifications" on incident table and bring that field on the incident form using configure>form layout.



Add a condition in email notifications condition builder like if 'Enable Notifications' is 'True'. Now whenever you are creating an incident, if you check the Enable Notification field, the emails will be sent, else emails won't trigger.



Thanks,


Jag.


Thanks Jag. Went through the first part   and found it very help.


Could you please help me with the second part. (Add a condition in email notifications condition builder like if 'Enable Notifications' is 'True'. Now whenever you are creating an incident, if you check the Enable Notification field, the emails will be sent, else emails won't trigger.)


Vipin,



Since, you want to disable notifications for particular record, name the field as "Disable Notifications" instead 'Enable'.



Now, navigate to email notifications on incident table and add a condition like 'Disable Notifications' is 'false' as shown below in the email notifications. So that the emails will not be triggered only if you check the field to true, else emails will trigger as-usually.



Screen Shot 2018-02-14 at 11.58.55 AM.png



Thanks,


Jag.