Activity Forums Salesforce® Discussions What is the difference between ISBLANK() AND ISNULL() in Salesforce?

  • What is the difference between ISBLANK() AND ISNULL() in Salesforce?

    Posted by Pooja on August 4, 2020 at 7:28 pm

    What is the difference between ISBLANK() AND ISNULL() in Salesforce?

    Anuj replied 3 years, 9 months ago 3 Members · 2 Replies
  • 2 Replies
  • Aditya

    Member
    August 5, 2020 at 9:38 am

    Main Difference Between ISBLANK And ISNULL in Salesforce. ISBLANK determines if an expression has a value then returns TRUE if it does not. ... ISNULL determines if an expression is null (blank) then returns TRUE if it is. If the expression contains a value, then this function returns FALSE.

  • Anuj

    Member
    August 5, 2020 at 2:39 pm

    When dealing with text and lookup fields, a blank value in the field yields `true` for `ISBLANK()` but `false` for `ISNULL()`—even if you set a text field to `null` in apex it is still treated as blank (i.e. not null) in the formula.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos