Testing Notifications WITHOUT sending email!

Testing Notifications WITHOUT sending email!

Image-email.png

How many times have you created a complex notification rule or escalation and wanted to test it before going live but just wish you did not have enable all of your notifications and cause heartburn for your users?

I get this question all of the time and discovered that we added this capability in version 10.1.2.

The key is the use of the out of box, "Console" channel plug in.  What it does it log the email notifications in the ns.log file so you can ensure that the right notification, notifies the right people at the right time.  As a bonus, it will also show up in the Work Center UI notifications.

Here are the steps to implement:

1. From Configurator, edit your notification server properties.  You do not want to have an email server identified in here, so if you restored your db from production, make sure to remove the server information.  This functionality still works without your server information in there, hence the brilliance of the channel :-).  Here are my settings from my test system.

 ImageNotifyServer.png

2.  From Configurator, add the Console plug in to your mail services.  Before you leave the configurator, be sure to start the notification service.  Don't worry, the emails will not be sent because you took out the email server information in the step above.

ImagePlugin.png

3.  From Web Admin, add a new Channel from the Channels area.

channelpic.png

4.  Add a new Channel of type User.

addchannel.png

5.  From Web Admin, go to your notification, and select your new channel.  This is typically where you would select Email, but for your testing you will select your new console channel.

ImageEditNotif.png

6. Now it is time to test your notification.  Here is a snippet from my ns.log.  First, notice the entry with the time stamp 13:42, this is from the console Channel.  It lets me know the notification was sent and who the recipient(s) were.  The last entry with a time stamp of 13:58 is without the channel and without an email server definition.  So this is where the difference is, you get a lot more data with the Console Channel.

Imagelogview.png

7.  Now for the kitschy TV sales, "But wait there's more!"......The console plugin will also post notifications to the Work Center UI.  I see two scenarios here.  a.  You are rolling out the Work Center UI and want to familiarize your users with the new notification feature in work center.  b. Not only can you see the notifications in the log file, but you can login as those users and see them from their perspective too.

Imageswcnotify.png

I hope this feature helps you finalize those notifications and stop spamming folks from your test environment :-).

Labels (1)
Tags (1)

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Comments
Thanks for this Erika. Very useful!
Great BLOG Erika and a very under used capability I have always thought. I will tweet it now from Support 🙂
Wonderful idea! I don't think I've ever used this channel before. Very cool. 🙂
This is great!! I will definitely be using this in the coming weeks.
Nice!
Great article Erika!
Oh thankyou Erika
Very helpful thanks!
First blog I've ever read with "kitschy TV sales" written. 🙂
Actually, console.log plugin should write notification message to ns.log (that described in manual), but it doesn't. This is existing defect - DEF260205
So what should the ns.log include? I was happy to see that my notification was sent, the correct recipient received it, and the notification in the Work Center UI. I will have to ask documentation to include details of what we should expect in the log file. 🙂
Just been tasked with creating new notifications - this will come in handy, thanks!
Very useful and just what I was looking for! Thanks.
Top Contributors
Version history
Revision #:
2 of 2
Last update:
‎2020-01-30 18:20
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.