Activity Forums Salesforce® Discussions How ISBLANK() is different from ISNULL() in Salesforce? Reply To: How ISBLANK() is different from ISNULL() in Salesforce?

  • Parul

    Member
    September 19, 2018 at 5:22 pm

    Hi

    Adding some points

    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.
    A field is not empty if it contains a character, blank space, or zero. For example, a field that contains a space inserted with the spacebar is not empty.
    Use the BLANKVALUE function to return a specified string if the field does not have a value; use the ISBLANKfunction if you only want to check if the field has a value.
    If you use this function with a numeric field, the function only returns TRUE if the field has no value and is not.

    Thanks