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.

URGENT :Calculating Duration of an SCTASK & RITM.

Mounika B1
Tera Contributor

I  want to calculate "duration" for task & RITM"
For incident, we can calculate "duration", but I can't calculate it for task.
If the item is Open:
Display the time elapsed from the request submission date to the current date.
If the item is Closed:
Display the time between the opened date and the closed date.

 

1 REPLY 1

Mark Manders
Mega Patron

Why can't you calculate that? It works in the same way. How are you calculating? Are you using OOB metrics, PA, custom code? 

When you say something is 'urgent' you need to provide enough information that we can help you. Especially because you don't even mention why you can do something on one record that you can't do on another, while those records have the exact same fields.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark