When running the 2011 SLA engine, the Stage field on Task SLA records is being set to Achieved/Breached even though the com.snc.sla.compatibility.breach property is set to 'No.'

Steps to Reproduce

  1. Navigate to the SLA properties page.
  2. Navigate to Service Level Management > SLA Properties.
  3. Ensure the Enable compatibility with 2010 'breached' status of SLAs (default: false) property is set to No.
  4. Create a new SLA definition with a short duration, such as 5 seconds.
  5. Create a new incident that matches the start condition of your new SLA definition.
  6. Using the Task SLAs related list on the new incident, open the Task SLA record associated to your new SLA definition.
  7. Click the Run SLA Calculation button to ensure the SLA breaches.

Notice that even though the breach compatibility property is set to No, the Stage field is set to Breached. This is not a valid stage when using the 2011 SLA engine.


Modify the line below on the SLACalculatorNG script include:

this.breachCompat = (gs.getProperty(this.SLA_COMPATIBILITY_BREACH, 'true') == 'true'); 

Change it to:

this.breachCompat = (gs.getProperty(TaskSLA.prototype.SLA_COMPATIBILITY_BREACH, 'true') == 'true');

After making this change, make sure you delete the related [sys_update_xml] record that has been generated so future patches do not skip this component as customized.




Related Problem: PRB626816

Seen In

Eureka Patch 11
Eureka Patch 11 Hot Fix 2
Eureka Patch 9 Hot Fix 1
Eureka Patch 9 Hot Fix 4
Fuji Patch 4 Hot Fix 4

Fixed In

Eureka Patch 11

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2016-03-29 15:29:58