- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2023 03:48 AM
Hi all,
Please help me with this below requirement.
After resolving of my incident it need to be closed 3 business day.
I have written a scheduled job for this, but it is not working.
please help me with the right way to achieve this.
Thank you,
Nikhitha
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2023 05:00 AM
solution is present in this link. check that and enhance
Auto closure of Task after 3 business days
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2023 03:51 AM
Hi @nikhitha24 ,
Why don't you use the OOTB incident properties list instead of a script:
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
best regards
Anders
If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.
Best regards
Anders
Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2023 04:41 AM
The OOTB properties will work on all the days. in my requirement i want to be check for the business days only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2023 03:56 AM
Hi Nikhitha,
You don't need to write a scheduled job. There is (Autoclose Incidents) scheduled job available out of the box. You can modify this Scheduled job if you want to.
For more info please follow this link it has everything described.
If my answer helps then please mark it Helpful or Correct!
Thanks,
Utpal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2023 04:51 AM