Stop SLA timer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2019 06:03 AM
Hi Developers
I need your help in one particular case .
In my instance i have one SLA which is running even if the ticket is in cancelled state .
To stop the SLA i wrote one background script to change the stage of the task_sla table record for the particular SLA .
My script is
var gr=new GlideRecord('task_sla');
gr.get('sys_id value');
gr.stage='completed';
gr.update();
This is changing my SLA's Stage value to completed but still the timer is not stopping .
SLA is still progressing in time .
Need your help to figure this out .
Thanks and regards
Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2022 09:04 AM
This is an incredibly old ticket by SN standards, but if the SLA should be triggering and isn't, you can navigate to the task_sla record for your ticket and use the UI Action for Repair. That should resolve the issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2019 06:29 AM
Could you share Stop condition definition, your background script and SLA state after you tried changing the ticket state?