Add email to notification before sending

rishabhkata
Tera Contributor

I am having one requirement to add a email of a person to a notification before they are sent from ServiceNow instance. If there is new notification created then I don't want to add mail script to every notification and it wont be possible to add too add this user based on some condition. How can I add user to notification dynamically?

9 REPLIES 9

Kieran Anson
Kilo Patron

Can you expand on how you're dynamically defining this additional user? Is this on all notifications or a subset?

@Kieran Anson I want to implement delegate functionality for notifications but for a particular table.

Ok, this sounds different to your original question. Can you explain in detail the business requirement?

@Kieran Anson In my custom table there is "tables" field and notifications checkbox and user.
If user (a for example) has checked notification (in incident table for example) and added user (b for example) as his delegator for all his notifications for that table, then if any notification triggers for user a for that table should also be triggered for user b and he should be added to cc of that email notification. This should work for all current notifications and any new notification if created on that table.