Loading
Salesforce now sends email only from verified domains. Read More
Automate Your Business Processes
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Global Constant Resource

          Global Constant Resource

          Fixed, system-provided values.

          Required Editions

          View supported editions.
          Global Constant Supported Data Type
          True Boolean
          False Boolean
          Blank Value (Empty String) Text
          Example
          Example

          When you create a Boolean variable, the supported values are True and False.

          Null Versus Empty String

          At run time, Blank Value (Empty String) and null are treated as separate, distinct values.

          • Blank Value (Empty String) indicates a text value with zero characters. It’s used to determine whether a field or variable is blank.
          • null indicates that a value doesn’t exist. It’s used to determine whether a field or variable value is available.
          • To check if a field or variable has been populated with data Equals for the operator, and Blank Value (Empty String) for the value.
          • To check if a field or variable value isn’t available, in a condition, use Is Null for the operator and True for the value.
          Example
          Example To check if a Get Records element found records, add a Decision element with manually set conditions. Then use the Get Records record collection for the first decision outcome’s resource, Is Null for the operator, and False for the value.

          Considerations

          • If you don’t give a text field or variable a starting value, the value is null at run time. If you want the value to be treated as an empty string, set it to Blank Value (Empty String).
          • For a text field or component placed on a Screen element, the Is Null operator always evaluates to false. To determine if the field or component has no value, use Equals for the operator and Blank Value (Empty String) for the value.
          • If a condition compares two text variables, make sure that their default values are either set to Blank Value (Empty String) or left empty (null).
          • To check for both a null or Blank Value (Empty String) value at the same time, use the ISBLANK formula function.
           
          Loading
          Salesforce Help | Article