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 Constants Flow Approval Processes Resource

          Global Constants Flow Approval Processes Resource

          Use fixed, system-provided values such as EmptyString, True, and False.

          Required Editions

          View supported editions for Flow Approval Processes.
          Global Constant Supported Data Types
          {!$GlobalConstant.True} Boolean
          {!$GlobalConstant.False} Boolean
          {!$GlobalConstant.EmptyString} Text
          Example
          Example

          When you create a Boolean variable, $GlobalConstant.True and $GlobalConstant.False are supported. When you create a Currency variable, no global constants are supported.

          Null Versus Empty String

          At run time, {!$GlobalConstant.EmptyString} and null are treated as separate, distinct values. For example:

          • When you leave a text field or resource value blank, the value is null at run time. If you want the value to be treated as an empty string, set it to {!$GlobalConstant.EmptyString}.
          • For a flow approval process condition, use the is null operator to check whether a value is null. If the condition compares two text variables, make sure that their default values are correctly set to {!$GlobalConstant.EmptyString} or left blank (null).
           
          Loading
          Salesforce Help | Article