- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
At Servicenow we use the SLA data collector script output to give us an overview of all of the SLA engine setup as well as giving us some common mis-configurations and general pointers to what is causing an issue for a particular running SLA. While this output is primarily geared to both support and development teams, in looking at its output I hope that it will give a deeper understanding of SLA configuration.
This post is not a generic guide to trouble shooting or debugging SLA issue per se, rather shows the first steps Support and Development teams take when working on SLA issues.
I present an example output of the script and talk about each section to give a bit more understanding of what the output is and how it helps us trouble shoot SLA issues. The entire script (which is attached) is cut and paste and run in System Definition Scripts - Background.
*** Script: SLA DataCollector version: 1.1.43
*** Script: Customized SLA Script Includes:
TaskSLAController-24a759e30a0a2c3960e024ad3b60d9e8
*** Script: Customized SLA Business Rules:
*** Script: Customized SLA UI Actions:
*** Script: Customized SLA Dictionary Records:
*** Script: Build properties:
glide.buildname[HEAD (Master)]
glide.builddate[Thu_Jul_06_21_10_22_BST_2023]
instance_name[glide_db_dump]
*** Script: SLA properties:
com.snc.sla.engine.version[2011]
com.snc.sla.schedule.source[null]
com.snc.sla.timezone.source[null]
com.snc.sla.calculation.percentage[1000]
com.snc.sla.engine.async[false]
com.snc.sla.compatibility.breach[false]
com.snc.sla.default_conditionclass[SLAConditionBase]
com.snc.sla.retroactive_pause[null]
com.snc.sla.condition.case_sensitive[false]
com.snc.sla.workflow.run_for_breached[true]
com.glideapp.workflow.duration.script_uses_schedule[null]
com.glideapp.workflow.duration.relative_uses_schedule[null]
com.snc.sla.calculate_planned_end_time_after_breach[false]
com.snc.sla.calculation.use_time_left[false]
glide.sla.calculate_on_display[true]
com.snc.sla.always_populate_business_fields[true]
com.snc.sla.get_task_from_db[sc_req_item]
glide.sys.audit_inserts[false]
com.snc.sla.async.job.limit[null]
com.snc.sla.async.job.priority[null]
com.snc.sla.async.job.claim_limit.min[null]
com.snc.sla.async.job.claim_limit.max[null]
com.snc.sla.async.deactivating[null]
com.snc.sla.contract.tables[null]
*** Script: SLA Logging properties:
com.snc.sla.task_sla_controller.log[notice]
com.snc.sla.task_sla.log[notice]
com.snc.sla.condition.log[notice]
com.snc.sla.flow.log[notice]
com.snc.sla.workflow.log[notice]
com.snc.sla.calculatorng.log[notice]
com.snc.sla.log.destination[db]
com.snc.sla.repair.log[notice]
com.snc.sla.breakdown_processor.log[notice]
glide.workflow.log.debug[false]
glide.escalation.verbose[false]
com.glide.relative_duration.log[null]
com.snc.sla.async.delegator.log[null]
com.snc.sla.time_line.log[null]
*** Script: SLA Repair properties:
com.snc.sla.repair.enabled[true]
com.snc.sla.repair.use_repair_workflow[false]
com.snc.sla.repair.workflow[Default SLA Repair workflow]
MSG[SLA is using Flow. See Flow section]
*** Script: SLA Domain setup:
domains_active[false]
*** Script: SLA Contract Management Integration setup:
active[true]
*** Script: Task SLA audit:
active[false]
*** Script: SLA Conditions:
start[Active = true .and. Priority = 1 - Critical]
pause[Incident state in On Hold .and. On hold reason = Awaiting Caller .and. or Incident state = Resolved]
stop[Incident state = Closed]
reset[]
cancel[]
whenToCancel[Start conditions are not met]
retroactiveStart[true]
retroactivePause[true]
retroactiveStartColumn[sys_created_on]
retroactiveValue[2023-07-07 10:43:18]
*** Script: SLA Contracts:
*** Script: SLA Schedule:
sysId[]
scheduleSource[no_schedule]
*** Script: SLA Relative Duration:
isRelativeDurationUsed[false]
duration[1 Hour]
*** Script: SLA Breakdown Definition:
taskTable: incident
breakdownTable: sla_breakdown_by_assignment
breakdownFields: 0[{"sourceFieldName":"assignment_group","breakdownFieldName":"assignment_group"}]
1[{"sourceFieldName":"assigned_to","breakdownFieldName":"assigned_to"}]
*** Script: SLA Domain Worflow setup:
*** Script: SLA Flow setup:
name[SLA notification and escalation flow]
*** Script: SLA in progress modification:
taskSlaCreated["2023-07-07 10:43:18"]
slaDefUpdated["2019-09-11 01:54:49"]
modifiedAfterTaskSlaAttached[false]
modifiedViaUpdateSet[false]
*** Script: SLA cancellation invalid:
*** Script: SLA Business Rules:
contract_sla[]
task_sla[]
incident[]
task[]
*** Script: SLA recalculation:
Task: INC0010001
SLA: Priority 1 resolution (1 hour)
hasAuditData: true
isAuditModInSync: true
auditCount: 6
modCount: 6
hasBadHistoryUpdate: false
===
Stage (before): Completed
Stage (after): Completed
Start Time (before): 2023-07-07 10:43:18
Start Time (after): 2023-07-07 10:43:18
Pause Duration (before): 00:00:43
Pause Duration (after): 00:00:43
Business Pause Duration(before): 00:00:43
Business Pause Duration(after): 00:00:43
Business Percentage(before): 2.19
Business Percentage(after): 2.19
Breach Time (before): 2023-07-07 11:44:01
Breach Time (after): 2023-07-07 11:44:01
End Time (before): 2023-07-07 10:45:20
End Time (after): 2023-07-07 10:45:20
Elapsed (before): 00:01:19
Elapsed (after): 00:01:19
Business Elapsed (before): 00:01:19
Business Elapsed (after): 00:01:19
Has Breached (before): false
Has Breached (after): false
Active (before): false
Active (after): false
===
*** Script: SLA timeline:
Stage-1
(start): 2023-07-07 10:43:18
(end): 2023-07-07 10:43:18
active: true
business_duration: 0 Seconds
business_pause_duration: 0 Seconds
business_percentage: 0
business_time_left: 1 Hour
duration: 0 Seconds
end_time:
has_breached: false
original_breach_time: 2023-07-07 11:43:18
pause_duration: 0 Seconds
pause_time:
percentage: 0
planned_end_time: 2023-07-07 11:43:18
read_allowed: true
schedule:
sla: Priority 1 resolution (1 hour)
stage: In progress
start_time: 2023-07-07 10:43:18
sys_created_by:
sys_created_on: 2023-07-07 10:43:18
sys_domain: global
sys_id: cf3a7447537b2110610bddeeff7b12f9
sys_mod_count:
sys_tags:
sys_updated_by:
sys_updated_on: 2023-07-07 10:43:18
task: INC0010001
time_left: 1 Hour
timezone: Europe/London
variables:
Stage-2
(start): 2023-07-07 10:43:18
(end): 2023-07-07 10:44:11
active: true
business_duration: 53 Seconds
business_pause_duration: 0 Seconds
business_percentage: 1.47
business_time_left: 59 Minutes
duration: 53 Seconds
end_time:
has_breached: false
original_breach_time: 2023-07-07 11:43:18
pause_duration: 0 Seconds
pause_time:
percentage: 1.47
planned_end_time: 2023-07-07 11:43:18
read_allowed: true
schedule:
sla: Priority 1 resolution (1 hour)
stage: In progress
start_time: 2023-07-07 10:43:18
sys_created_by:
sys_created_on: 2023-07-07 10:43:18
sys_domain: global
sys_id: cf3a7447537b2110610bddeeff7b12f9
sys_mod_count:
sys_tags:
sys_updated_by:
sys_updated_on: 2023-07-07 10:43:18
task: INC0010001
time_left: 59 Minutes
timezone: Europe/London
variables:
Stage-3
(start): 2023-07-07 10:44:11
(end): 2023-07-07 10:44:26
active: true
business_duration: 1 Minute
business_pause_duration: 0 Seconds
business_percentage: 1.89
business_time_left: 58 Minutes
duration: 1 Minute
end_time:
has_breached: false
original_breach_time: 2023-07-07 11:43:18
pause_duration: 0 Seconds
pause_time: 2023-07-07 10:44:26
percentage: 1.89
planned_end_time: 2023-07-07 11:43:18
read_allowed: true
schedule:
sla: Priority 1 resolution (1 hour)
stage: Paused
start_time: 2023-07-07 10:43:18
sys_created_by:
sys_created_on: 2023-07-07 10:43:18
sys_domain: global
sys_id: cf3a7447537b2110610bddeeff7b12f9
sys_mod_count:
sys_tags:
sys_updated_by:
sys_updated_on: 2023-07-07 10:43:18
task: INC0010001
time_left: 58 Minutes
timezone: Europe/London
variables:
Stage-4
(start): 2023-07-07 10:44:26
(end): 2023-07-07 10:44:46
active: true
business_duration: 1 Minute
business_pause_duration: 0 Seconds
business_percentage: 1.89
business_time_left: 58 Minutes
duration: 1 Minute
end_time:
has_breached: false
original_breach_time: 2023-07-07 11:43:18
pause_duration: 0 Seconds
pause_time: 2023-07-07 10:44:26
percentage: 1.89
planned_end_time: 2023-07-07 11:43:18
read_allowed: true
schedule:
sla: Priority 1 resolution (1 hour)
stage: Paused
start_time: 2023-07-07 10:43:18
sys_created_by:
sys_created_on: 2023-07-07 10:43:18
sys_domain: global
sys_id: cf3a7447537b2110610bddeeff7b12f9
sys_mod_count:
sys_tags:
sys_updated_by:
sys_updated_on: 2023-07-07 10:43:18
task: INC0010001
time_left: 58 Minutes
timezone: Europe/London
variables:
Stage-5
(start): 2023-07-07 10:44:46
(end): 2023-07-07 10:44:59
active: true
business_duration: 1 Minute
business_pause_duration: 33 Seconds
business_percentage: 1.89
business_time_left: 58 Minutes
duration: 1 Minute
end_time:
has_breached: false
original_breach_time: 2023-07-07 11:43:18
pause_duration: 33 Seconds
pause_time:
percentage: 1.89
planned_end_time: 2023-07-07 11:43:51
read_allowed: true
schedule:
sla: Priority 1 resolution (1 hour)
stage: In progress
start_time: 2023-07-07 10:43:18
sys_created_by:
sys_created_on: 2023-07-07 10:43:18
sys_domain: global
sys_id: cf3a7447537b2110610bddeeff7b12f9
sys_mod_count:
sys_tags:
sys_updated_by:
sys_updated_on: 2023-07-07 10:43:18
task: INC0010001
time_left: 58 Minutes
timezone: Europe/London
variables:
Stage-6
(start): 2023-07-07 10:44:59
(end): 2023-07-07 10:45:10
active: true
business_duration: 1 Minute
business_pause_duration: 33 Seconds
business_percentage: 2.19
business_time_left: 58 Minutes
duration: 1 Minute
end_time:
has_breached: false
original_breach_time: 2023-07-07 11:43:18
pause_duration: 33 Seconds
pause_time: 2023-07-07 10:45:10
percentage: 2.19
planned_end_time: 2023-07-07 11:43:51
read_allowed: true
schedule:
sla: Priority 1 resolution (1 hour)
stage: Paused
start_time: 2023-07-07 10:43:18
sys_created_by:
sys_created_on: 2023-07-07 10:43:18
sys_domain: global
sys_id: cf3a7447537b2110610bddeeff7b12f9
sys_mod_count:
sys_tags:
sys_updated_by:
sys_updated_on: 2023-07-07 10:43:18
task: INC0010001
time_left: 58 Minutes
timezone: Europe/London
variables:
Stage-7
(start): 2023-07-07 10:45:10
(end): 2023-07-07 10:45:20
active: false
business_duration: 1 Minute
business_pause_duration: 43 Seconds
business_percentage: 2.19
business_time_left: 58 Minutes
duration: 1 Minute
end_time: 2023-07-07 10:45:20
has_breached: false
original_breach_time: 2023-07-07 11:43:18
pause_duration: 43 Seconds
pause_time:
percentage: 2.19
planned_end_time: 2023-07-07 11:44:01
read_allowed: true
schedule:
sla: Priority 1 resolution (1 hour)
stage: Completed
start_time: 2023-07-07 10:43:18
sys_created_by:
sys_created_on: 2023-07-07 10:43:18
sys_domain: global
sys_id: cf3a7447537b2110610bddeeff7b12f9
sys_mod_count:
sys_tags:
sys_updated_by:
sys_updated_on: 2023-07-07 10:43:18
task: INC0010001
time_left: 58 Minutes
timezone: Europe/London
variables:
- 3,259 Views
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.