Highlighted
Super Contributor.. Super Contributor..
Super Contributor..
311 views

Log SLA Breach in Incident Activity

Dear Experts , 

i have a requrement , that our customer need to track the changes in the SLA aret and SAL breachs in Incident Activity log . so that he can know some info such as in which phase the incident is breached 

i added a new activity type in the activitytype table of the probsummary under update activity . but it did not work 

i though to user the alret.status filed or sla.breach as bellow but nothing is working . when the alret.status value changes from non to SLA 50 percent for example . no thing is added to the activity table 

i attached here screenshot of what i did , 

what i did worng . any advice of alternative solution ?

thanks in advacne 

Thanks and Best Regards
------------------------------
Amr Salah
0 Likes
3 Replies
Highlighted
Knowledge Partner
Knowledge Partner

Re: Log SLA Breach in Incident Activity

Your line of tought is correct. I think you should break the problem in two parts to identify what exactly is the problem: AlertDef or Activityactions.

1: Did you check if the field sla.breach and alret.status (the default is status) are changing properly when they were suppose to do?

2: Try to add a line inside activityactions with condition true to see if the value will be added or not when updated by the AlertDef.

If you realize that addition of activities is not running when it's updated by Alert (test 1 ok, test 2 fail), you can create a JS function that adds the activity and call it from the AlertDef on statements field. You could also run a trace to identify if there is any better place, but I think statements are good enough. 

Regards,
Breno Abreu

If you feel this was helpful please click the KUDOS! thumb below!
0 Likes
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Re: Log SLA Breach in Incident Activity

any ideas experts !

Thanks and Best Regards
------------------------------
Amr Salah
0 Likes
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Re: Log SLA Breach in Incident Activity

@BrenoAbreuThank you  for update , 

yes i'm sure that the AlertDef is working OK becasue i keep an eye on the sql table it self , once the value is updtaed i go to the activity to check , so i'm sure from this point . 

i like your idea about the JS on the AretDef, but in fact i'm that good in scripting , would you please guide me what i can write on the script statment 

thanks in advacnce deat 

 

 

 

Thanks and Best Regards
------------------------------
Amr Salah
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.