Highlighted
Absent Member.. Absent Member..
Absent Member..
187 views

Can Eventout records in HPSM be filtered and separated based on values in evfields(External String)?

Dear Experts,

We have implemented SMS notification for SLA chasers by using same methodology as Email- 

SLO -> Alertdef -> Notification (used same notification method as email for email chasers and SMS chasers. But SMS chasers uses JSCall to get phone number from contact table and push to eventout record. 
From the eventout record, there is a script to get the values from eventout -> split message and phone number, then send the split values to another table(SMSOUT) and to SMS server from here.

Example: When a particular incident reaches 25% SLO,  that schedule runs and 2 eventout records are created
1. Type Email; Evefield (External Information String) with details of Email to be sent to  Assignee
2. Type: Email; Evefield (External Information String)  with details of SMS to be sent to Assignee

Our concern is - we dont want SM to treat the 2nd eventout as email by sending to SMTP server.
Tried other notify method like ocml, sms but eventout record is not created.

Can you advise below
1. Can we filter eventout records and prevent SM from processing based on some condition in string?
2. Any other method we can use?

0 Likes
1 Reply
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Re: Can Eventout records in HPSM be filtered and separated based on values in evfields(External Stri

Hi,

yes. You could for instance create a trigger on the eventout table for the before add state (Trigger Type 1 - Before Add), and change the evtype based on your condition. You can change the evtype to unwanted,skip etc, these would then not be processed. Only evtypes email should be processed by HPSM and send as email.

Or you could rewrite the alert definition to not create a record in eventout out, but instead in smsout.

Peter

Peter Bartal
0 Likes
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.