- 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 06:15 AM
Perfect Bharat!
Glad to know that you were able to achieve your objective!!!
I would say please close this thread when you have no further questions and keep enjoying ServiceNow community 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2017 06:18 AM
Thanks Lalit..Sorry to ask..where i can close this thread..?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-18-2017 06:22 AM
It's already done Bharat when you select one of the answers as correct otherwise your post continue appearing as "Not answered" in community.
No further actions required, enjoy 🙂