Use ISBLANK instead of ISNULL in new formulas. ISBLANK has the same functionality as ISNULL, but also supports text fields. Salesforce will continue to support ISNULL, so you do not need to change any existing formulas.
If this solution helps, Please mark it as best answer.
ISBLANK() should be used instead of the legacy ISNULL(). The biggest difference having to do with text fields.
Use ISBLANK instead of ISNULL in new formulas. ISBLANK has the same functionality as ISNULL, but also supports text fields. Salesforce will continue to support ISNULL, so you do not need to change any existing formulas.
Text fields are never null, so using ISNULL() with a text field always returns false. For example, the formula field IF(ISNULL(new__c) 1, 0) is always zero regardless of the value in the New field. For text fields, use the ISBLANK function instead.
As per the Article (https://help.salesforce.com/s/articleView?id=sf.customize_functions_i_z.htm&type=5) ISBLANK() should be used instead of the legacy ISNULL().
Use ISBLANK instead of ISNULL in new formulas. ISBLANK has the same functionality as ISNULL, but also supports text fields. Salesforce will continue to support ISNULL, so you do not need to change any existing formulas.
If this solution helps, Please mark it as best answer.
Thanks
Hi Dnyaneshwar Kakad,
Please find the solution.
ISBLANK() should be used instead of the legacy ISNULL(). The biggest difference having to do with text fields.
Use ISBLANK instead of ISNULL in new formulas. ISBLANK has the same functionality as ISNULL, but also supports text fields. Salesforce will continue to support ISNULL, so you do not need to change any existing formulas.
Text fields are never null, so using ISNULL() with a text field always returns false. For example, the formula field IF(ISNULL(new__c) 1, 0) is always zero regardless of the value in the New field. For text fields, use the ISBLANK function instead.
You can take references from the below link:
https://help.salesforce.com/s/articleView?id=sf.customize_functions_i_z.htm&type=5 (https://help.salesforce.com/s/articleView?id=sf.customize_functions_i_z.htm&type=5)
Please mark it as the Best Answer if your queries are solved.
Thank You