<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Report to calculate the duration of the assignment group in a hr case excluding pending and on-hold in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/report-to-calculate-the-duration-of-the-assignment-group-in-a-hr/m-p/3455117#M1241594</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have this requirement where i have to create a report which shows the time spent by an assignment group in a HR case excluding 'pending' and 'on-hold' states.&amp;nbsp;&lt;BR /&gt;I have found a OOB metric which calculates Assignment group duration in a HR case.&lt;BR /&gt;And I have also created a metric which calculates the time spent by an HR case in each state irrespective of assignment group.&lt;BR /&gt;Kindly, help me to calculate the duration of each assignment group in each case excluding pending and on-hold states.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Dec 2025 07:27:05 GMT</pubDate>
    <dc:creator>jananipk</dc:creator>
    <dc:date>2025-12-23T07:27:05Z</dc:date>
    <item>
      <title>Report to calculate the duration of the assignment group in a hr case excluding pending and on-hold</title>
      <link>https://www.servicenow.com/community/developer-forum/report-to-calculate-the-duration-of-the-assignment-group-in-a-hr/m-p/3455117#M1241594</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have this requirement where i have to create a report which shows the time spent by an assignment group in a HR case excluding 'pending' and 'on-hold' states.&amp;nbsp;&lt;BR /&gt;I have found a OOB metric which calculates Assignment group duration in a HR case.&lt;BR /&gt;And I have also created a metric which calculates the time spent by an HR case in each state irrespective of assignment group.&lt;BR /&gt;Kindly, help me to calculate the duration of each assignment group in each case excluding pending and on-hold states.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Dec 2025 07:27:05 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/report-to-calculate-the-duration-of-the-assignment-group-in-a-hr/m-p/3455117#M1241594</guid>
      <dc:creator>jananipk</dc:creator>
      <dc:date>2025-12-23T07:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Report to calculate the duration of the assignment group in a hr case excluding pending and on-h</title>
      <link>https://www.servicenow.com/community/developer-forum/report-to-calculate-the-duration-of-the-assignment-group-in-a-hr/m-p/3457518#M1242040</link>
      <description>&lt;P&gt;You're going to need to build&amp;nbsp; your own scripted metric.&lt;BR /&gt;The OOB ones only do raw time.&amp;nbsp; Yours will have to use the GlideSchedule object.&lt;BR /&gt;&lt;A href="https://www.servicenow.com/docs/bundle/zurich-api-reference/page/app-store/dev_portal/API_reference/GlideScheduleScoped/concept/c_GlideScheduleScopedAPI.html#title_r_SGSCH-Duration_GDT_GDT" target="_self"&gt;Here's the docs site with a good script example&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2025 13:57:26 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/report-to-calculate-the-duration-of-the-assignment-group-in-a-hr/m-p/3457518#M1242040</guid>
      <dc:creator>Uncle Rob</dc:creator>
      <dc:date>2025-12-29T13:57:26Z</dc:date>
    </item>
  </channel>
</rss>

