Auto close resolved incidents after 3 business days
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2017 06:43 AM
Trying to figure out how to auto close an incident after 3 business days of being in resolved state. I tried following link (How to close ticket after 3 business days )however, end date here has the correct date but not correct time. Any one has a solution for that? Appreciate your help!
- Labels:
-
Incident Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2017 06:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2017 06:55 AM
yes i have. Unfortunately it doesn't do it by business days.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2017 06:45 AM
This is built in functionality. The system is already set up to auto close after three days.
What is the underlying issue or question here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2017 06:54 AM
Issue is that the OOTB functionality doesn't account for business days, it does it by calendar days. How to close ticket after 3 business days tries to do it by business days, however, getEndDateTime() returns 5pm after 3 business days - it doesn't give the correct time. Ie. if the ticket is resolved on 9/22/17 at 8am getEndDateTime() gives 9/25/17 5pm not 9/25/17 8am. Do you know how to get correct endtime here?