- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2024 01:22 PM
I have a working workflow notification that sends to an email variable using the 'To (script)' below. ('plant_email is the variable in the workflow.)
I have to add images and formatting for the business so I need to recreate the notification in 'System - Email - Notifications'. That notification component allows me to format and add images and copy over the subject and message body from the workflow without any changes and make easy formatting edits and additions. What it doesn't seem to do is allow me to add the receiver variable. The variable fields are available in reports but not here. There's no option for a script here and I couldn't find anything for it in layout. Am I missing something in form layout? What is the proper way to do this? I think a script is probably involved but I don't know how to do one that will allow me to add images or easily change formatting.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2024 02:00 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2024 02:11 PM
So in the notification, since you are passing the recipient in parameter2, check the checkbox Event parm2 contains recipients.
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2024 01:52 PM - edited 03-25-2024 01:53 PM
You can add the content to 'What it will contain' section, where you can add the images, formatting etc.
Adding a script to the html section also convert it to email script - https://docs.servicenow.com/bundle/tokyo-servicenow-platform/page/script/server-scripting/concept/c_...
Now to send notification, it has to be triggered from an event or on submission of the catalog
Please mark this response as correct or helpful if it assisted you with your question.