Issue with Duplicate SLAs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2024 08:51 AM - edited ‎12-21-2024 08:52 AM
Hello,
I am encountering an issue with SLAs: I have approximately 60,000 duplicate SLAs on incidents and changes between October and November.
All SLA definitions appear to be correctly configured, as well as the pause and stop conditions.
For now, I need to delete all duplicate SLAs. Do you have any suggestions on how to proceed with this action?
Best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2024 02:41 PM
Hi,
Idealy if the SLA are not active and leave them as it is, plan only for active incidents.
Otherwise, you can plan to delete all duplicate SLA record which created later and keep the first one for each incident record.
Write a Fix Script code for bulk delete,
- First retreive all incident record create during the given duration.
- Iterate the result set
- Within the interation check if there is 2 task_sla record exist then delete the one whice created later.
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution