Loading
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

Salesforce Flow: Record-Triggered Flow Error After Changing a Custom Field API Name

게시 일자: Oct 2, 2026
상세 설명

In Salesforce Flow, errors can occur in a Record-Triggered Flow after you change the API name of a custom field. The errors occur because $Record references in Decision and Assignment elements are not automatically updated to the new API name.

This article describes which elements update automatically and how to manually update the references.

솔루션

This section explains why a Salesforce Record-Triggered Flow shows errors after you change a custom field API name, and how to fix the references.

Issue Overview

In Salesforce Flow, errors may occur in a Record-Triggered Flow when you change the API name of a custom field. This happens because the old API name is not automatically updated when `$Record` or `$Record__Prior` is used in the resource section of Decision or Assignment elements.

Which Elements Update Automatically

The following table shows whether the API name is automatically updated for each element and reference method. This table does not cover all possible scenarios.

Element / Reference MethodAutomatically Updated
Decision elementNo
Assignment elementNo
Get Records elementYes
Update Records elementYes
Value section (for example, `{!$Record.newfield__c}`)Yes
Reference via Get Records element (for example, `{!Get_Account.newfield__c}`)Yes

Resolution Steps

If you use `$Record` or similar references in Decision or Assignment elements, you must manually update them to the new API name. Follow these steps to update the field references:

  1. Open the affected flow in Flow Builder.
  2. Identify the Decision or Assignment elements in the resource section that use the old API name.
  3. Update the field reference to the new API name (for example, `{!$Record.checkboxtest1__c}`).
  4. Click Save, and then click Activate.

Creating a new version or simply deactivating and reactivating the flow does not resolve the issue. You must manually correct the references.

Knowledge 기사 번호

005460862

 
로드 중
Salesforce Help | Article