Loading

Field Service Live Bundling Skips Service Appointments Created by an Integration User

Veröffentlichungsdatum: Nov 3, 2026
Beschreibung

Issue

In Field Service, Live Bundling doesn't add new service appointments (SAs) to bundles when an integration or API user creates or updates them. The same service appointments are bundled when an admin manually edits a field that triggers Live Bundling, such as Status or Due Date. No error appears in the user interface, and the bundle policy, recordset filter criteria (RFC), and service territory setup all look correct.

For example, an external system creates service appointments through an integration user. The appointments meet every condition of the intended bundle policy but stay unbundled. When a dispatcher changes the status of one of these appointments, Live Bundling adds it to a bundle within minutes.

Error in the Apex Debug Log

An Apex debug log captured for the integration user shows these entries:

System.NoAccessException: service appointment field in the recordset filter criteria rule "<rule ID>" isn't valid or you don't have access. Your Salesforce admin can help.
FSL.Exceptions.CfeException: RFC_NoAccess__<rule ID>

The rule ID in the log identifies the recordset filter criteria rule that references a field the user can't access.

Cause

Live Bundling evaluates a service appointment in the context of the user who created or updated it. During this evaluation, Field Service checks the service appointment against the recordset filter criteria of all active bundle policies, not only the policy you expect to apply. If the user doesn't have Read field-level security (FLS) on a service appointment field referenced in any of those criteria rules, the check throws a NoAccessException and Live Bundling stops for that service appointment.

Manual edits by an admin succeed because they run under the admin's field access.

Formula fields and relationship fields, such as Record Type, are the fields most often missing from an integration user's access, because they aren't typically included when the integration user's permissions are set up.

Lösung

Why These Steps Are Needed

Live Bundling runs as the user who saves the service appointment. For Live Bundling to process service appointments that an integration creates or updates, the integration user needs Read field-level security on every service appointment field used in the recordset filter criteria of all active bundle policies. These fields must also have Read access in the Field Service Integration permission set.

Before You Start

Confirm that automatic bundling is set up for the service appointments:
- The bundle policy has Automatic Bundling selected.
- The service appointment's service territory is added to the bundle policy's service territories.

Find the Fields Used in Recordset Filter Criteria

1. From the App Launcher, open Appointment Bundle Policies.
2. For each active bundle policy, note the recordset filter criteria selected in the Filter Criteria field.
3. Open each recordset filter criteria record and review its rules. Note every service appointment field used in a rule, including formula fields and relationship fields such as Record Type.

If an Apex debug log shows an RFC_NoAccess entry, start with the rule ID shown in that entry.

Grant Read Access to the Integration User

1. From Setup, in the Quick Find box, enter Users, and then select Users.
2. Open the integration user and note the profile and permission sets assigned to it.
3. Open the profile or one of the assigned permission sets.
4. Click Object Settings, and then click Service Appointments.
5. Click Edit. For each field noted in the previous section, select Read Access.
6. Save your changes.
7. Repeat steps 4 through 6 for the Field Service Integration permission set.

Verify That Live Bundling Works

1. Create a new service appointment through the integration.
2. Wait a few minutes for Live Bundling to process the service appointment.
3. Confirm that the service appointment is added to a bundle.
4. If the service appointment isn't bundled, capture a new Apex debug log for the integration user and check for another RFC_NoAccess entry. Each rule ID points to a recordset filter criteria rule that still references a field the user can't access.

Nummer des Knowledge-Artikels

005465985

 
Laden
Salesforce Help | Article