Loading
Salesforce Help 사이트 “Help Agent powered by Fin” 도입 안내더 많이 읽기
Tableau 고객 대상: Tableau를 이용하는 고객이 Help 사이트에서 사례(케이스)를 등록할 수 없는 경우의 대체 수단더 많이 읽기
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

Formula: Return TRUE When a Record Is Created or a Specific Field Changes Using ISNEW and ISCHANGED

게시 일자: Dec 8, 2025
상세 설명

This article covers how to use the ISNEW and ISCHANGED functions in a Salesforce formula to return TRUE when a record is created or when a specific field changes. Use this logic in places such as validation rules.

솔루션

This article explains how to write a formula that returns TRUE when a record is either newly created or a specific field has changed, using the ISNEW and ISCHANGED functions.

The Formula

To determine if a record is newly created or if a specific field has changed, use the ISNEW and ISCHANGED functions. To return TRUE when "a record is created" OR "a specific field (e.g., Status__c) is changed," combine these functions using an OR condition.

Example Syntax

The following example uses the OR function to check both conditions together. The formula returns TRUE if the record is new or if the Status__c field changed.

`OR(
    ISNEW(),
    ISCHANGED(Status__c)
)`

The following example achieves the same result using the || (OR) operator instead of the OR function. The formula returns TRUE if the record is new or if the Status__c field changed.

`ISNEW() || ISCHANGED(Status__c)`

Where This Formula Can Be Used

This formula cannot be used in all locations. Refer to the ISCHANGED documentation in Salesforce Help to check where the ISCHANGED function is available (e.g., Validation Rules, Workflow Rules, Process Builder formulas).

Knowledge 기사 번호

005232816

 
로드 중
Salesforce Help | Article