update on sc task as closed in completed after 5 working days of it's creation

Somasekhar6
Tera Contributor

Hi team, After Placing the SC Request one SC task is created and assigned to one group if group doesn't take any action on that task for 5 working days I need update state of that task as close incomplete complete with help of flow designer how can I achieve this .

 

Thanks in advance for your support and time.

 

 

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Somasekhar6 

 

Greetings!!

 

You can write the script for this or use schedule jobs. But I will not recommend this closing part. Lets take example

- A request open and it has 5 task and out of 5 , 4 are already completed and 5th one not actioned in last 5days. In this case if you mark 5th task closed incomplete your full request will be marked as closed Incomplete.

 

So think this use case and decide. 

*************************************************************************************************************
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  Thanks for your response I have only one sctask in the flow there are no multiple tasks.  as you said we can achieve with help of schedule job or script. could you please help me with the script  to achieve the requirement. 

Hi @Somasekhar6 

 

I am not a coder mate so cant help much. But take reference from OOTB schedule jobs and you can write the code by user self.

 

https://docs.servicenow.com/en-US/bundle/vancouver-platform-administration/page/administer/time/task...

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

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