Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Problem Record need to get auto closed after 7 days

Community Alums
Not applicable

Hi 

@Ankur Bawiskar , @Dr Atul G- LNG 

1.After problem record get resolved or comes to Resolved state then we have wait for 7 days then problem record get auto closed

2. Through Schedule Job how we can achieve this functionality without touching or going System properties.

 

Thanks and Regards

Jyothinath P

 

9 REPLIES 9

Community Alums
Not applicable

pjyothinath_0-1702462422003.png

This Script i have written in Schedule job and it is for after 1 day but it's not working.

correct me if i am wrong @Dr Atul G- LNG @Ankur Bawiskar 

 

Regards

Jyothinath

 

@Community Alums 

what debugging have you done so far?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Community Alums 

 

REfer this

https://INSTANCENMAE.service-now.com/now/nav/ui/classic/params/target/sys_script.do%3Fsys_id%3Dd67b8d9ec0a80118008cd8f0f7f92fae%26sysparm_record_target%3Dsys_script%26sysparm_record_row%3D5%26sysparm_record_rows%3D5%26sysparm_record_list%3DnameCONTAINSauto%255EcollectionCONTAINSinc%255EORDERBYname

*************************************************************************************************************
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]

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

Community Alums
Not applicable

link not working

Hi @Community Alums  

Replace Instance name with your Instance link

*************************************************************************************************************
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]

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