Example of creating an Email Automatic Action on the Windows Platform
From TDiWiki
We realize that working with Automatic Actions is quite different from previous versions of ConsoleWorks than it is in version 4. By providing this example, we hope that you will be empowered to not only work with Email Auto Actions, but get ideas about creating your own. We encourage you to share your Auto Actions with us so that we can help the entire ConsoleWorks community.
The following screenshots are v4.1 screens and the fields used for an Email Auto Action. You’ll notice that Enable Event Action Throttling is enabled by default. If you want an email every time an event occurs, and that event has NOT been acknowledged, then disable Event Action Throttling.
For this example, we’ve gone to Events, View, and chosen the DIAG-CMIINVCAP to Edit. Click on the Automatic Actions header followed by the Add button. For the 'Type' drp down select External Script.
Next select the Consoles or Groups for the action. Either leave 'any' for the Time-Frame or click to select an alternate Time-Frame, then click the line for Contact, and type in the contact email address or distribution list name.
Now click external script and select Email.Bat. Note that you can click the magnifying glass to actually see the Example Email.Bat file supplied with ConsoleWorks.
As you can see at the bottom we’re using the Freeware program BLAT.EXE, and it’s using the parameters shown at the top of the script to include the %4 Event Context, to %5 Contact with a %2 Subject on %1 Console for the email content.
Press Ok to finish.. Notice that you can add more Actions to the SAME events.. This is new for ConsoleWorks 4.. You could have the action send to one contact or distribution list during business hours and a different contact or distribution list on off hours.. You could have one group of Consoles email distro a, and another group email distro b...
To see an example of how to set up Blat you may view this Wiki entry Here
I hope you've found this Wiki entry usefull!
Categories: Windows | Actions | Example



