<?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 Time Sheet Utilization Fields Not Updating in SPM forum</title>
    <link>https://www.servicenow.com/community/spm-forum/time-sheet-utilization-fields-not-updating/m-p/3584901#M51866</link>
    <description>&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;Time Sheet Utilization fields (Maintenance, Strategic, Billable) intermittently remain 0 although Time Cards contain valid Billing Types&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Hi everyone,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I'm currently investigating an intermittent issue in our custom ServiceNow utilization solution and would appreciate any guidance from anyone who has encountered something similar.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Custom Utilization application&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Time Sheet (time_sheet)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Time Card (time_card)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Custom Script Include: &lt;STRONG&gt;utilizationUtils&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Custom Business Rule: &lt;STRONG&gt;Calculate Utilization&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;The Business Rule executes the following:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;(function executeRule(current, previous) {&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;var util = new x_xxx_utilizatio.utilizationUtils(current);&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;util.updateUtilization();&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;})(current, previous);&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;The Script Include loops through all Time Cards belonging to the Time Sheet and calculates:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Billable&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Maintenance&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Strategic&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Upgrade&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Presales&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Travel&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Total Utilized&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Utilization Rate&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;using the Task's&lt;STRONG&gt; u_billing_type&lt;/STRONG&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Example:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;else if ((category == 'project_work') || (category == 'task_work')) {&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;var billType = grCard.task.u_billing_type.toString();&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;timeSpent = this._setTimeSpent(timeSpent, billType, grCard.total);&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;}&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;Issue&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;The issue is intermittent.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Some Time Sheets calculate correctly, while others remain at 0 even though the associated Time Cards contain valid Billing Types.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Example&lt;/FONT&gt;&lt;BR /&gt;&lt;U&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;Working Week&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Week Starts: 2026-07-05&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Time Cards&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Task Work → Maintenance&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Task Work → Strategic&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Engagement Scrum → Billable&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Time Sheet&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Maintenance = 21.55&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Strategic = 12.92&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Billable = 5.53&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Everything is calculated correctly.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;Failing Week&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Week Starts: 2026-07-19&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;The Time Cards contain:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;- Maintenance&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;- Strategic&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;- Billable&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;The Story records also have the correct u_billing_type.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;However, the Time Sheet shows:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Maintenance = 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Strategic = 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Billable = 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Total Utilized is also incorrect.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Only the Total Hours field is updated.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I also compared the Time Sheet history.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;Working week&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;The audit history shows changes to:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;- Maintenance&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;- Strategic&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;- Billable&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;- Total Utilized&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;- Utilization Rate&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;Failing week&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;The audit history only shows updates to:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Monday&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Tuesday&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Wednesday&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Thursday&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Friday&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Total Hours&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;There are no history entries showing Maintenance, Strategic, Billable, or Total Utilized being updated.&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Aug 2026 19:34:09 GMT</pubDate>
    <dc:creator>Generietta Cami</dc:creator>
    <dc:date>2026-08-07T19:34:09Z</dc:date>
    <item>
      <title>Time Sheet Utilization Fields Not Updating</title>
      <link>https://www.servicenow.com/community/spm-forum/time-sheet-utilization-fields-not-updating/m-p/3584901#M51866</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;Time Sheet Utilization fields (Maintenance, Strategic, Billable) intermittently remain 0 although Time Cards contain valid Billing Types&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Hi everyone,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I'm currently investigating an intermittent issue in our custom ServiceNow utilization solution and would appreciate any guidance from anyone who has encountered something similar.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Custom Utilization application&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Time Sheet (time_sheet)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Time Card (time_card)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Custom Script Include: &lt;STRONG&gt;utilizationUtils&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Custom Business Rule: &lt;STRONG&gt;Calculate Utilization&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;The Business Rule executes the following:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;(function executeRule(current, previous) {&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;var util = new x_xxx_utilizatio.utilizationUtils(current);&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;util.updateUtilization();&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;})(current, previous);&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;The Script Include loops through all Time Cards belonging to the Time Sheet and calculates:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Billable&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Maintenance&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Strategic&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Upgrade&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Presales&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Travel&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Total Utilized&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Utilization Rate&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;using the Task's&lt;STRONG&gt; u_billing_type&lt;/STRONG&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Example:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;else if ((category == 'project_work') || (category == 'task_work')) {&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;var billType = grCard.task.u_billing_type.toString();&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;timeSpent = this._setTimeSpent(timeSpent, billType, grCard.total);&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT color="#000000"&gt;}&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;Issue&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;The issue is intermittent.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Some Time Sheets calculate correctly, while others remain at 0 even though the associated Time Cards contain valid Billing Types.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Example&lt;/FONT&gt;&lt;BR /&gt;&lt;U&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;Working Week&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Week Starts: 2026-07-05&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Time Cards&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Task Work → Maintenance&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Task Work → Strategic&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Engagement Scrum → Billable&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Time Sheet&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Maintenance = 21.55&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Strategic = 12.92&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Billable = 5.53&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Everything is calculated correctly.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;Failing Week&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Week Starts: 2026-07-19&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;The Time Cards contain:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;- Maintenance&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;- Strategic&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;- Billable&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;The Story records also have the correct u_billing_type.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;However, the Time Sheet shows:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Maintenance = 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Strategic = 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Billable = 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Total Utilized is also incorrect.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Only the Total Hours field is updated.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I also compared the Time Sheet history.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;Working week&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;The audit history shows changes to:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;- Maintenance&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;- Strategic&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;- Billable&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;- Total Utilized&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;- Utilization Rate&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;Failing week&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;The audit history only shows updates to:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Monday&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Tuesday&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Wednesday&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Thursday&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;Friday&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Total Hours&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;There are no history entries showing Maintenance, Strategic, Billable, or Total Utilized being updated.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2026 19:34:09 GMT</pubDate>
      <guid>https://www.servicenow.com/community/spm-forum/time-sheet-utilization-fields-not-updating/m-p/3584901#M51866</guid>
      <dc:creator>Generietta Cami</dc:creator>
      <dc:date>2026-08-07T19:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Time Sheet Utilization Fields Not Updating</title>
      <link>https://www.servicenow.com/community/spm-forum/time-sheet-utilization-fields-not-updating/m-p/3584934#M51867</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/259492"&gt;@Generietta Cami&lt;/a&gt;&amp;nbsp;:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;This intermittent behavior could be pointed directly to a race condition scenario when accessing grCard.task.u_billing_type.toString(). When a Time Card is processed, ServiceNow doesn't automatically force a synchronous database join for referenced fields on the task table if the underlying glide record hasn't fully hydrated that relationship especially if cards are created or updated via automated background engines, API calls, or concurrent state changes during time sheet submission. When grCard.task.u_billing_type evaluates as null or undefined in memory, your _setTimeSpent method silently misses all condition matches, defaulting those bucket totals to 0 while still allowing the core grCard.totalaggregate calculation to pass through to Total Hours.&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV class=""&gt;To fix this reliably, refactor your script include to explicitly instantiate or query the target task table (such as task or specific child tables) using grCard.getValue('task') rather than relying on dot-walking through grCard.task. Alternatively, add a fallback check to verify whether grCard.task.getRefRecord().isValidRecord()exists before parsing u_billing_type. Ensuring that the business rule triggering updateUtilization() runs with a proper order preference (e.g., set to run after or with a higher order value to guarantee all child task and time card transactions have fully committed to the database) will prevent the script from evaluating stale or partially committed reference pointers.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Aug 2026 20:42:54 GMT</pubDate>
      <guid>https://www.servicenow.com/community/spm-forum/time-sheet-utilization-fields-not-updating/m-p/3584934#M51867</guid>
      <dc:creator>KPNow</dc:creator>
      <dc:date>2026-08-07T20:42:54Z</dc:date>
    </item>
  </channel>
</rss>

