Send Test Email Button: Is there any out there?

Marshall Day
Mega Expert

Hello All.

I have been performing a lot of email notification upgrading for proper look, feel and presentation on many email display devices (phone, computer, different programs). I have just over 130 different email notifications that I am going through. I would like to be able to send a test email (same as when you add a new printer to your computer, select Print Test Page) of the notification I am working on without having to create any INC/CHG/PRB in the system. I already know the email trail works and only want to see the changes made and how it displays.

Is this something that others have come across or have heard of?

Any comments would be greatly appreciated.

Marshall

1 ACCEPTED SOLUTION

Marshall Day
Mega Expert

Regarding this issue I have been in contact with many Service-Now experts and have received excellent information and guidance.



Service-Now does not allow email notifications to be forced sent from the email notification page. The final discussion with Robert Fedoruk was very illuminating, although disappointing, as I really wanted to create this ability in my Instance. Suffice it to say, if you are dealing with many email notifications, and you need to send them out, be prepared to create many firing events.



Thank you all for responding and providing your insights. I greatly appreciate them all.



Marshall Day


View solution in original post

10 REPLIES 10

harishkumar,


Thank you for responding. Your comments are appreciated but they do not address my question. I would like to send an email notification without creating the INC/REQ/CHG/PRB in the system.



I would simply like to open up the email notification on the table it works on, make any changes necessary to the content of the notification, preview it, then hit the "Send Test Email" button and have the system send out that email.



My quandary is if SN will allow the sending of an email without going through the process of creating a 'firing event' with an INC/CHG/ REQ etc.



Marshall


Yes it does Marshall,



And the preview got all the stuff. All that is missing is a send mail button. Sadly the UI Action is calling a UI Page, which is just calling for a jelly template "<g:inline template="notification_display.xml" />" and it seems that it's saved in the backend and out of our reach. Otherwise I thought you could take that code and customise it to also put in a record in the outbound mail table to generate a new mail.




I hate to admit it, but I have no idea how to be able to solve this.



//Göran


Marshall Day
Mega Expert

Regarding this issue I have been in contact with many Service-Now experts and have received excellent information and guidance.



Service-Now does not allow email notifications to be forced sent from the email notification page. The final discussion with Robert Fedoruk was very illuminating, although disappointing, as I really wanted to create this ability in my Instance. Suffice it to say, if you are dealing with many email notifications, and you need to send them out, be prepared to create many firing events.



Thank you all for responding and providing your insights. I greatly appreciate them all.



Marshall Day


I recall a notification based scheduled report I made at my previous company, where I ended up creating a manually triggered notification for preview purposes.



We had a nightly report that we needed to send that was querying data from a table in ServiceNow. Achieved by defining a new event, spawning the event by scheduled job, which triggered the notification and provided the reporting content via mail script within the notification. Where manually triggering came into play, I needed to allow a small group of folks to be able to send a preview report during the day, on demand, so they could review the report and clean up any data in the table prior to the report being fired by event during the overnight. My solution was to define a second "preview" event, and create two identical notifications, the only difference being the event that triggered the notification and the audience. My preview notification was being routed to the small group, triggered by my preview event, where my scheduled notification was being routed to my business audience triggered by my scheduled event.



To spawn the preview event on demand, I created a module link to spawn the event, which in turn triggered the notification. I created a custom role for the module to control preview link visibility and use. Every click of the link, triggered the report/notification.



Having this preview option, also made working on the cosmetic aspects of the report less tedious, as I could tweak the preview notification/scripts and fire on demand. Once the cosmetics and payload were good, copy into the scheduled notification.



There are probably some creative ways to scale this for more dynamic use and not for a single static notification, after all events can pass parameters too



Also, if you haven't done so already, creating test templates for your tasks (incident, problem, change, etc) can help speed things up too, and with Automated Test Framework in Istanbul, maybe this doesn't have to be such a tedious exercise for too much longer.



Cheers,


Daniel


I was just thinking about Automated Test as well.. This might be something you can use when you get to Istanbul.



//Göran