- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2017 01:27 AM
Hi,
How to create a schedule job it should automatically close after 2 weeks after issue is resolved ? can someone help with scripts.
Thank you very much in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2017 01:50 AM
Hello Bharat,
There is an OOB scheduled job in table sys_trigger with name "Autoclose Incidents". Use it as a template and create a copy of it by using "Insert and Stay". Then replace "incident autoclose" in below statement with your BR script name and set the run schedule as per your choice...
fcScriptName=incident autoclose
And, you're done....
Hope this is what you were looking for?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2017 01:30 AM
Hi Bharat,
Are you talking about incident auto closure or a different table?
For incidents we have an oob feature to autoclose by setting a system property on number of days for closure
Thank You
Please Hit Like, Helpful or Correct depending on the impact of response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2017 01:38 AM
Hi,
on table i have write the script. and i have take only closed incidents with in 2 weeks of time. after the incident is resolved schedule job should close automatically after 2 weeks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2017 01:31 AM
Hello Bharat,
Please elaborate your question/requirement so that we can suggest something accordingly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2017 01:38 AM
Hi,
on table i have write the script. and i have take only closed incidents with in 2 weeks of time. after the incident is resolved schedule job should close automatically after 2 weeks.