When attempting to access any Salesforce scheduling policy via the guided setup in the Field Service settings, the scheduling policy page appears blank. In the browser page, inspect the HAR logs to find the error "Type Error: 'Can’t read properties of undefined (reading 'Name')".
When not able to see see Salesforce Scheduling Policy via the Guided Setup in Field Service, the cause is due to the Work Rule not being assigned a record type. When clicking on the scheduling policy from the guided setup in Field Service Admin Settings, the system retrieves all the Work Rules and their associated record types. If any Work Rule lacks a record type, an error "TypeError: Cannot read properties of undefined (reading 'Name')" is displayed in the browser's console.
1. To resolve this issue, run the following query in the developer console to identify Work Rules without a record type:
SELECT Id from FSL__Work_Rule__c where RecordTypeId = null
2. Next, assign the appropriate record type to the affected Work Rules following the below steps:
By following these steps, the issue should be resolved, allowing the Scheduling Policy page to display correctly in the Guided Setup.
000694748

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.