
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2018 06:25 AM
How can I autoclose problem after 5 days of resolution
Solved! Go to Solution.
- Labels:
-
Problem Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2018 06:31 AM
I recommend setting a system property (my.problem.resolution.days) and using a scheduled job against it to query for active records that are resolved 5 or more days ago. If you want make this easier... Consider doing this without any script with a simple update set add-on that I made specifically for situations like this.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2018 08:14 AM
Hi,
You can create a "Scheduled Job" that runs everyday.
1)Store the date/time of a problem record when it changes to "Resolved" state
2)Compare it with current date/time.
3)If the difference is equal to 5 days then update state value to "Closed".
Thanks,
Ravi