The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Auto Close the ticket after 7 days when the state is "Awaiting Response"

MS17
Tera Contributor

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.

15 REPLIES 15

Dr Atul G- LNG
Tera Patron
Tera Patron

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]

****************************************************************************************************************

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.

 

MS17_0-1740673023430.jpeg

 

MS17_1-1740673052506.jpeg

 

Thanks.

 

 

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]

****************************************************************************************************************

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.