I want to define the mail script body.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2016 11:56 PM
1. I just simply want to use the variables in the mail script body and then us that mail script.
2. I want to use that mail script in my Business rule to copy the body into the Worknotes field.
Please guide if anyone has done something similar.
Thanks!
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2016 11:59 PM
Hi Jyo,
The best way to start is to refer OOTB notification email scripts or wiki reference. Refer section 4 here.
Email Notifications - ServiceNow Wiki
You can fetch field value as current.field_column name on notification email scripts.
Please let me know if you are blocked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2016 04:49 PM
HI Pradeep,
Thanks for your quick response!
But I am just wondering if we can call mail script via Business Rule, any thoughts?
Thanks,
Jyo

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2016 04:51 PM
Hi Jyo,
Thanks for the update. You can trigger events to fire notification via BR.
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
‎06-14-2016 11:05 PM
Hi Pradeep,
I am not using custom made events, it's just insert thing on my email notification.
SO, how can I achieve without using that, I believe we can use sys_email table for that matter.
Any suggestions?
Thanks!