How do we calculate the incident duration field?Issue <!-- div.margin { padding: 10px 40px 40px 30px; } table.tocTable { border: 1px solid; border-color: #e0e0e0; background-color: #fff; } .title { color: #d1232b; font-weight: normal; font-size: 28px; } h1 { color: #d1232b; font-weight: normal; font-size: 21px; margin-bottom: 5px; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #cccccc; } h2 { color: #646464; font-weight: bold; font-size: 18px; } h3 { color: #000000; font-weight: bold; font-size: 16px; } h4 { color: #666666; font-weight: bold; font-size: 15px; } h5 { color: #000000; font-weight: bold; font-size: 13px; } h6 { color: #000000; font-weight: bold; font-size:14px; } ul, ol { margin-left: 0; list-style-position: outside; } --> How to calculate the incident duration field? ReleaseAnyResolutionThere are two Duration fields on Incident which are "Business duration" and "Calendar duration". Both Duration fields are calculated by the OOB business rule "mark_closed" on the incident table. These are the following code in the business rule: if (dataChange || current.business_duration.nil()) current.business_duration = gs.calDateDiff(opened, closed, false); if (dataChange || current.calendar_duration.nil()) current.calendar_duration = gs.dateDiff(opened, closed, false); Both Duration fields are actually calculated based on incident opened time and incident closed time only.It is clear that duration for incident is calculated based on incident opened time and incident closed time only. It is calculated regardless what states incident has ever been set to. The duration of incident is simply the time difference between incident opened time and incident closed time. Putting incident in "Awaiting User Info" state would definitely affect the duration for the incident because the pause period would be counted into the duration in this case. Example Incident create time: 3pmPut incident into Awaiting User Info time: 4pmChange incident state back to Active: 5pmClose incident: 6pm For this example, the duration of the incident would be 3 hours because it is created at 3pm and is closed at 6pm. Related Linkshttps://docs.servicenow.com/csh?topicname=c_ResolveTime.html&version=latest