URGENT :Calculating Duration of an SCTASK & RITM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Ankur,
Thanks for the reply . i will try with that BR.
But that BR won't work for in progress I want to calculate the how long the request opened this one also i want i.e in-progress. Need help on this .
i can see only the incident table has duration only when state is closed .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
you can have 2 fields for this and then populate them based on state change
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hi Ankur,
Thanks for the quick response.
i can see few incident has captured duration for in progress, but i am unable to find BR for that .on which condition was applied. Few has duration few not . if you give me information about this it will be help full in my work.
Thanks,
Mounika B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Ankur,
Can you please guide me How to proceed , is there any OOB BR available .for this .if yes ,please share me the name.
"you can have 2 fields for this and then populate them based on state change"
Do i need to create 2 custom variable to populate this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Ankur,
you can have 2 fields for this and then populate them based on state change means
Do i need to create 2 custom variables. can you please guide me how to proceed. Are is there any script for this.