Use fixed, system-provided values such as EmptyString,
True, and False.
Required Editions
| View supported editions for Flow Orchestration. |
| Global Constant | Label | Supported Data Types |
|---|---|---|
{!$GlobalConstant.True}
|
True |
Boolean
|
{!$GlobalConstant.False}
|
False |
Boolean
|
{!$GlobalConstant.EmptyString}
|
Blank Value (Emtpy String) |
Text
|
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
nullat run time. If you want the value to be treated as an empty string, set it to{!$GlobalConstant.EmptyString}. - For an orchestration condition, use the
is nulloperator to check whether a value isnull. If the condition compares two text variables, make sure that their default values are correctly set to{!$GlobalConstant.EmptyString}or left blank (null).