Time Card not being created from Time Worked taskIssue <!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } ul{ list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> OOB, when creating a Time Worked task related to an incident, a time card will be automatically created if the user assigned to the Time Worked task is on the additional_assignee_list field of the incident. If we have a before business rule on the Time Worked table to add the assigned user to the additional assignee list on the incident, it is expected that when the Time Card is being processed, a time card is created. However, the time card is not created as the TimeCardUtil script include is still picking up the previous additional assignee list that does not contain yet the new user.ReleaseAll releases.CauseTimeCardUtil script include uses the getRefRecord() method to get the Incident record from the Time Worked task. TimeCardUtil.updateTimeCardFromTimeWorked = function(timeWorked) { var autoUpdate = GlideUser.getUserByID(timeWorked.getValue('user')).hasRole('timecard_user'); if(!autoUpdate || timeWorked.task.nil()) return false; var task = timeWorked.task.getRefRecord(); var assginedTo = task.getValue('assigned_to'); var additionalAssigneeList = task.getValue('additional_assignee_list'); var userId = timeWorked.getValue('user'); autoUpdate = assginedTo == userId || (JSUtil.notNil(additionalAssigneeList) && additionalAssigneeList.contains(userId)); The at the time it is called, the referenced record is not yet updated and is still getting the previous additional_assignee_list values.ResolutionThis is the OOB expected behavior when using getRefRecord() method. As an alternative, using GlideRecord to get the record from the database instead of getRefRecord will get the latest additional_assignee_list, and will have the values updated from the before business rule.