
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2016 04:13 AM
Hi, Is it possible to make an Email Notification that will send the notif to the user reference field variable in the catalog item?
I was hoping not to use the event triggered notification.
Is it possible using the normal condition but the recipient is a catalog item user reference variable?
Thanks,
Tadz
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2016 05:25 AM
I don't see a method to set the "to" field in the docs via scripting. I see almost every other field, but not email.setTo(). It's worth a try - let me know.
The key is going to be check if that variable and value exist before blindly setting it otherwise other catalog items could trigger that notification and it won't work at all.
http://wiki.servicenow.com/?title=Scripting_for_Email_Notifications
Otherwise the event is pretty easy to set up.
- Register your event
- Trigger the event from the workflow
- Create a notification (or modify an existing one) to react to that notification
http://wiki.servicenow.com/index.php?title=Events_and_Email_Notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2016 04:49 AM
Hi Cris,
Is the notification will be defined in workflow or on a table level?
Thanks and regards,
Swamy

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2016 04:51 AM
Hi Swamy,
Its on a table level

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2016 04:50 AM
Not according to what I see. There are no variables listed in the generic sc_req_item notification because the variables are specific to each catalog item configuration.
The best way is going to be to use the event driven notification and pass the recipient as a parameter then use one of these checkboxes for Event parm1 or event parm2 contains recipient.
Events and Email Notification - ServiceNow Wiki

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2016 04:53 AM
Hi Chuck,
I see, so the only way is to use a event driven notification right?
can' we use email notification script just the same as cc or bcc? On wiki theres only cc or bcc only.
Another question though.
Can we trigger a notification with just a cc without a to?
Thanks,
Tadz