Missing SMGeoDistanceUtils Breaks Dynamic SchedulingIssue The global SMGeoDistanceUtils Script Include is missing or does not match the out-of-box version, causing Work Order Management scheduling and assignment operations to fail when geocoded locations are evaluated. Symptoms Auto-assignment, assisted scheduling, and optimization fail for work order tasks with geocoded locations.The system records the error TypeError: undefined is not a function at DynamicSchedulingResourceEntity line 2633 when calling new global.SMGeoDistanceUtils().Dispatchers may receive the message: No agents were available during the specified time frame. Change the task assignment window or manually assign an agent.The expected SMGeoDistanceUtils Script Include cannot be found, or the existing record differs from the out-of-box version. Facts The SMGeoDistanceUtils Script Include belongs to the Service Management Geolocation package.The package source is com.snc.service_management.geolocation.Out-of-box Work Order Management components reference this Script Include.The issue affected automated agent assignment when the work order task and candidate agents had geocoded locations.The reported solution restored the affected functionality. Release Australia Patch 3 Hotfix 1 and Australia Patch 3 Hotfix 2 Cause The required out-of-box SMGeoDistanceUtils Script Include was missing or had been replaced with a version that did not match the out-of-box record. The case did not establish why the record became missing or different. Resolution Open the Service Management Geolocation plugin with source com.snc.service_management.geolocation.Repair the plugin to restore the missing out-of-box SMGeoDistanceUtils Script Include.Review the Script Include after the repair and compare it with the out-of-box XML.If an existing customized record prevents the repair from restoring the out-of-box version, review and correct the Script Include version as appropriate.Retest auto-assignment, assisted scheduling, and optimization for work order tasks with geocoded locations.