- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2013 10:31 PM
Is it possible to retrieve the watermark reference # on the notification through mail_script code? I need to generate a link in the notification that, when clicked, will generate a reply email with the watermark reference # from the original email for the inbound action to work properly.
I cannot use a "mailto:" template for this because the reply email address may not necessarily be instancename@service-now.com. The reply address depends on the user's company. I can build the proper link if I can retrieve what the watermark reference # will be for the notification.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2014 10:55 AM
Found out that you can actually use...
email.watermark
...within some mail_script code to get the watermark.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2015 11:36 PM
Hi Jim,
I wrapped it under <mail_script> only , the code i was referring to was written in the notification email script which does not require the <mail_script> tag.
I figured out that if i write some gliderecord query in the notification email script, it was not allowing to execute the code further.In the gliderecord i was fetching messages.So i just pushed that text directly in the html body of the notification to make it work.Also had some syntax error while linking mailto to image.
Thanks for sharing the piece of code.It worked for me finally!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2015 12:14 PM
Great, I'm glad it was useful for you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2018 07:01 AM
I need to do very much this same thing. We use jotform for forms and signatures (I know servicenow does some of this but... It's a big hill for me to climb right now). I can create a hidden field in my jotform called ServiceNow Watermark and pre-populate that field from a dynamically created URL. SO - what I would like to be able to do is to create an email notification in workflow that inlcudes a dynamically built url and the watermark from the task that has been created so that when the form is filled out and signed/submitted - it can generate an email into service now that will update the task to let the technician know he/she can proceed.
So... my question is - what is that script going to look like? and where will it go in the workflow? after the task is created, I assume...