Repair SLA button deletes some of my SLA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2018 12:47 PM
Hellow community!
There is a button on incident and RITM form that should repair SLA. It work's on target=resolution perfectly, but i've got a response SLA that counts time between the specialist click "New"(create incident or RITM) and "Save" (after incident or RITM been registred) - 20-30 sec always.
When i'm trying to "repair SLA" - this method deletes my "response" SLA away from table! I can't catch why and when! 50%50, sometimes 3-4 click on same incident is OK, and on 5-th SLA deletes.
Got anybody some ideas?
Found "scripts/SLARepairClient.js" - that contains
'''
repairByFilter: function(table, filter)
{ this.request = new SLARepairClient.Request(table); this.request.filter = filter; this._validateRequest();
'''
If i could't find reason, at least can i use this part of script to add to that UI Action button to filter out all "respose" SLA that this button fixing?
Here is a code of this button
ScriptLoader.getScripts([ '/scripts/SLARepairClient.js' ], function() {});
function repair() {
var slaClient = new SLARepairClient();
slaClient.callback = function(response) {
g_navigation.reloadWindow();
};
slaClient.repairBySysId(g_form.getTableName(), g_form.getUniqueValue());
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2018 03:56 PM
Because the conditions are false? since the SLA shouldn't be there it removes it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2018 11:00 PM
No, becouse the condition of SLA with target=resolution false too. But it marked "cancelled" or something else, and not disappear.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2018 04:47 AM
Post screen shots of your SLA definition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2018 03:33 AM