Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2014 09:44 AM
The incident rule (marked_resolved) calculates the business duration:
if (dataChange || current.business_duration.nil())
current.business_duration = gs.calDateDiff(opened, resolved, false);
If you take the script part and manipulate it to fit in something like this:
Calculate Duration Given a Schedule - ServiceNow Wiki
You could probably get it to do display as 7 days, etc., etc.