Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Agentforce Field Service and Operations
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Troubleshooting Steps for Agentforce Scheduling in the Legacy Agentforce Builder

          Troubleshooting Steps for Agentforce Scheduling in the Legacy Agentforce Builder

          Use the Agent Builder’s event logs to locate the name of the action that failed, or to view the last action that was triggered. Then use the Flow Builder to debug the flow that this action triggers.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise, Performance, Unlimited, and Developer Editions with Field Service and Foundations, or Einstein 1 Field Service Edition or Agentforce 1 Field Service Edition.
          User Permissions Needed
          To open, edit, or create a flow in Flow Builder: Manage Flow

          For more information about actions and flows, see Agent Template: Scheduling Agent for Field Service in the Legacy Agentforce Builder

          To troubleshoot the AI agent, follow these steps.

          1. Open the Agent Builder and click Events.
          2. Open the latest session, scroll until you see the last event whose type is Agent Action and note the name of the action that was triggered. It may take several minutes to see events of type Agent Action. Refresh the window until you see all events. In this example, a problem occurred while trying to cancel an appointment and the last action that was triggered is fieldservice_CancelApptForFieldService.
            Event logs
          3. Access the Flow Builder and open the flow corresponding to the action that failed. In our example, the flow is called Field Service: Cancel Service Appointment.
          4. Click Debug, and then select the Run flow as another user checkbox. See Debug a Flow in Flow Builder for information about enabling this option.
          5. Choose the AI agent user, for example, EinsteinServiceAgent user and run the flow.
          6. If the flow fails, check the error message for more information. If the error message doesn’t help locate the issue, continue to the next step.
            If the flow succeeds, the problem isn't in this flow. In our example, the error shows that there was a problem changing the status from Scheduled to Canceled.
            Error in Flow Builder
          7. Debug the flow again, but this time as the Admin user (this is the default). If the flow succeeds, investigate user permission errors. See Assign ‌Permissions for Autonomous Scheduling in the Legacy Agentforce Builder. If it fails, investigate configuration and permission issues.
           
          Loading
          Salesforce Help | Article