Loading
Prepare for Email to Become the Default Login ExperienceRead More
Automate Your Business Processes with Salesforce Flow
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 Label Supported Data Types
{!$GlobalConstant.True} True Boolean
{!$GlobalConstant.False} False Boolean
{!$GlobalConstant.EmptyString} Blank Value (Emtpy String) 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