How can I autoclose problem after 5 days of resolution

akshayjain
Tera Expert

How can I autoclose problem after 5 days of  resolution

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

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.

Scriptless scheduled jobs

View solution in original post

10 REPLIES 10

SaiRaviKiran Ak
Giga Guru

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