We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

get time taken to close all the catalog tasks

Phanideepthi
Tera Contributor

Hi All,

 

We are working on Calculating the time taken to complete a service request for which we want to calculate the time difference between catalog start time and close time.

the scenario is  "total time taken = Difference between the time fist task has been assigned and last task closed"

 

Now I need to have a script to capture those times and calculate the difference. Please help in achieving this.

 

Thanks in advance

 

 

1 REPLY 1

Eswar Chappa
Mega Sage

Hi @Phanideepthi  the below community article will help you with your use case

 

https://www.servicenow.com/community/developer-forum/how-to-get-duration-for-task-created-to-closed/...

Thanks & Regards,

Eswar Chappa

Mark my answer correct and Helpful if this helps you 😀