Is it possible to include HTML in a Workflow Notification Activity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2017 10:39 AM
I believe the answer to this is no, but wanted to throw the question out there to see what I get back. I do know that I can create a Notification Event, which then fires a standard Email Notification which can include HTML. But, it would be nice to be able to just add the HTML message directly in the Notification Activity. But it appears that only plain text is supported.
Am I missing something?
- Labels:
-
Service Catalog
-
Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2017 10:44 AM
You could use a mail_script block to print some html to the notification from the workflow.
<mail_script>
template.print(html code here);
</mail_script>
Or script a separate mail script and reference it in the notification. More information here:
http://wiki.servicenow.com/index.php?title=Scripting_for_Email_Notifications
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2017 11:30 AM
Thanks Scott, that works. And you actually made me realize that you can also put HTML tags directly in the body of the Notification Activity.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2018 10:45 AM