Advanced Send To in Workflow Notification versus System Email Notifications

Alan42
Tera Guru

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.)

 

Alan42_0-1711397530550.png

 

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.    

 

Alan42_1-1711397899296.png

 

1 ACCEPTED SOLUTION

You will need to update the Email Notification to fire on the event.

View solution in original post

6 REPLIES 6

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.

SanjivMeher
Kilo Patron
Kilo Patron

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.