- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 11:50 PM
Hello All,
Good day!
I would like to ask your suggestions/recommendations on what to use in closing all the open tickets which are more than 30days already.
1. Is it the client scripts? If it's client script, what type of function? Onload, onchange?
2. Should I have a scheduled job to check/run everyday if there are still open tickets more than 30days?
Any suggestions and recommendations?
Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2024 05:23 AM
Hi @zaxjun
You can use the Flow designer which is low code and if you want code, use schedule job.
Flow Designer
Trigger
Schdule
Action
Look up for records where incident open more tan 30 days
Logic
For each
Action
Update record
State = close
Resolved note = xxx
Resolved code =yyy
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2024 05:23 AM
Hi @zaxjun
You can use the Flow designer which is low code and if you want code, use schedule job.
Flow Designer
Trigger
Schdule
Action
Look up for records where incident open more tan 30 days
Logic
For each
Action
Update record
State = close
Resolved note = xxx
Resolved code =yyy
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2024 06:29 PM
Thanks Kilo it works for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2024 05:27 AM
Hello @zaxjun,
You can use the Scheduled job which will runs on a daily basis and will check the open tickets which are older than 30 days. And using the scheduled job, you can closed those tickets automatically.
If the above solution resolve your issue, Please mark the solution as Accepted Solution and also mark it as Helpful.
Thank You.
Prathamesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2024 06:28 PM
Thank you but I think the Flow design suggested by Kilo is good for me.