URGENT :Calculating Duration of an SCTASK & RITM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 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
The script has already been shared, you just need to adjust the BR to look at your specific requirements.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
if you are ok to create 2 custom fields then you can use before update business rule with proper filter conditions
what did you start with and where are you stuck?
If you are referring to OOTB BR logic then I already shared it earlier
💡 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