Loading

Integration User with "View All Data" Still Can't Read ServiceAppointment.ServiceTerritoryId

Veröffentlichungsdatum: Oct 23, 2026
Beschreibung

FLS read access to ServiceAppointment.ServiceTerritoryId was not explicitly granted on the Integration User's profile/permission set, despite View All Data being enabled.

A field without explicit FLS read access will return null in SOQL for a user even with View All Data.

Lösung
  1. Identify the exact field(s) the Integration User needs (ServiceAppointment.ServiceTerritoryId here).
  2. Grant explicit Read Access to the field via the assigned Profile or Permission Set's Field-Level Security settings.
  3. Best practice: use a minimally-scoped permission set — clone a baseline (e.g., Field Service Dispatcher), remove unneeded VF Page Access/Custom Permissions/Apex Class Access/Assigned Apps/System Permissions, retain Field Service Standard + the specific field read access needed.
  4. Re-run the integration/SOQL query to confirm the field now returns a value.
Nummer des Knowledge-Artikels

005460953

 
Laden
Salesforce Help | Article