Auto Close the ticket after 7 days when the state is "Awaiting Response"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2025 06:56 AM
Hi All,
I want to close the ticket automatically after 7 days if the state changed to "Awaiting Response" and no response received from the user, how to achieve this. Please suggest.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2025 07:08 AM
Hi @MS17
Yo can do it via Flow designer which is no code here.
Trigger: Daily
Action: Look up records
condition
State in Awaiting Response
update 7 days ago
For each record
Set the close code
and state = closed
Try this and share feedback.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0552820
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-27-2025 08:17 AM
Hi @Dr Atul G- LNG ,
I have created a flow, but when i added the condition "updated 7 days ago", it will take the record update right? i want to close the ticket after 7 days from the state changes and if no response received.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2025 08:19 AM
Yes @MS17
Run the flow and test .
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-27-2025 08:56 AM - edited 02-27-2025 08:59 AM
hi @Dr Atul G- LNG ,
I have tested it, this is closing the records which are not updated for 7 days with state = "awaiting response". but If the state has changed to "awaiting response" 7 days ago and if any record update (adding comments) has happened after that, then these records are not closed.. in my case these records should be closed as the state has changed 7 days before. how to achieve this?
Thanks.