You are here:
Flow Orchestration Operators in Decision Elements
Use condition operators to verify the value of a selected resource. Conditions are used in Decision elements.
Required Editions
| View supported editions for Flow Orchestration. |
Use this reference to understand the supported operators. The list is organized according to the data type that you select for Resource.
Apex-Defined
To determine which operators are supported, match the @AuraEnabled attribute’s Apex data type with the Flow Orchestration data type in this reference.
| Apex Data Type | Flow Orchestration Data Type |
|---|---|
| Boolean | Boolean |
| Date | Date |
| DateTime | Date/Time |
| Decimal | Number |
| Double | Number |
| Integer | Number |
| List | Collection |
| Long | Number |
| String | Text |
Boolean
Check whether a Boolean resource’s value matches another value or resource.
| Operator | True if... | Supported Data Types |
|---|---|---|
| Does Not Equal | The value of the selected Resource doesn’t match what you enter or select for Value. | Boolean |
| Equals | The value of the selected Resource matches what you enter or select for Value.
|
Boolean |
| Has Error | Only supported in Decision elements, the Resource is a Decision or Stage element in the orchestration. Use to determine whether the resource encountered an error during the orchestration run. | Boolean |
| Is Blank | The value for Resource is either not set or references no value. Use to determine whether a field or variable value is set to no value similar to Is Null. See Text. | Boolean |
| Is Null | The value for Resource is either not set or references no value. Use to determine whether a field or variable value is set to no value. | Boolean |
| Was Set | The value for Resource is a field in a record variable, and that field has been populated with a value at least one time in a flow called by a step in the orchestration. | Boolean |
| Was Visited | Only supported in Decision elements, the Resource is a Decision or Stage element in the orchestration. Use to determine whether the orchestration run visited the specified element. | Boolean |
Collection
Check whether a Collection resource’s value contains or matches another value or resource.
| Operator | True If | Supported Data Types |
|---|---|---|
| Contains | An item in the collection that’s selected for Resource contains the exact same value as Value. | Resource of the same data type. For record collection variables, only record resources with the same object type are supported. |
| Does Not Equal | The collection that’s selected for Resource doesn’t match the collection that’s selected for Value. If two record collection variables include different fields or if the fields have different values, they’re unequal. |
Collection of the same data type. For record collection variables, only record collection variables with the same object type are supported. |
| Equals | The collection that’s selected for Resource matches the collection that’s selected for Value. If two record collection variables include the same fields and those fields have the same values, they’re equal. |
Collection of the same data type. For record collection variables, only record collection variables with the same object type are supported. |
| Is Empty | An empty collection | Boolean |
| Is Null | The value for Resource is either not set or references no value. Use to determine whether a field or variable value is set to no value. | Boolean |
Currency and Number
Check whether a Currency or Number resource’s value matches, is larger than, or is smaller than another value or resource.
| Operator | True If | Supported Data Types |
|---|---|---|
| Does Not Equal | The value for Resource doesn’t match what’s entered or selected for Value. |
|
| Equals | The value for Resource matches what’s entered or selected for Value. |
|
| Greater Than | The value for Resource is larger than what’s entered or selected for Value. |
|
| Greater Than or Equal | The value for Resource is larger than what’s entered or selected for Value or is the same. |
|
| Less Than | The value for Resource is smaller than what’s entered or selected for Value. |
|
| Less Than or Equal | The value for Resource is smaller than what’s entered or selected for Value or is the same. |
|
| Is Blank | The value for Resource is either not set or references no value. Use to determine whether a field or variable value is set to no value similar to Is Null. See Text. | Boolean |
| Is Null | The value for Resource is either not set or references no value. Use to determine whether a field or variable value is set to no value. | Boolean |
| Was Set | The value for Resource is a field in a record variable, and that field has been populated with a value at least one time in a flow called by a step in the orchestration. | Boolean |
Date and Date/Time
Check whether a Date or Date/Time resource’s value matches, is before, or is after another value or resource.
| Operator | True If | Supported Data Types |
|---|---|---|
| Does Not Equal | The value for Resource doesn’t match what’s entered or selected for Value. |
|
| Equals | The value for Resource matches what’s entered or selected for Value. |
|
| Greater Than | The value for Resource is a later date or time than what’s entered or selected for Value. |
|
| Greater Than or Equal | The value for Resource is a later date or time than what’s entered or selected for Value or is the same date or time. |
|
| Less Than | The value for Resource is an earlier date or time than what’s entered or selected for Value. |
|
| Less Than or Equal | The value for Resource is an earlier date or time than what’s entered or selected for Value or is the same date or time. |
|
| Is Blank | The value for Resource is either not set or references no value. Use to determine whether a field or variable value is set to no value similar to Is Null. See Text. | Boolean |
| Is Null | The value for Resource is either not set or references no value. Use to determine whether a field or variable value is set to no value. | Boolean |
| Was Set | The value for Resource is a field in a record variable, and that field has been populated with a value at least one time in a flow called by a step in the orchestration. | Boolean |
Picklist
Check whether a Picklist resource’s value matches or contains another value or resource.
| Operator | True If | Supported Data Types |
|---|---|---|
| Contains | The value for Resource contains what’s entered or selected for Value. For example,
if the value of |
|
| Does Not Equal | The value for Resource doesn’t match what’s entered or selected for Value. |
|
| Equals | The value for Resource matches what’s entered or selected for Value. |
|
| Is Blank | The value for Resource is either not set or references no value. Use to determine whether a field or variable value is set to no value similar to Is Null. See Text. | Boolean |
| Is Null | The value for Resource is either not set or references no value. Use to determine whether a field or variable value is set to no value. | Boolean |
| Was Set | The value for Resource is a field in a record variable, and that field has been populated with a value at least one time in a flow called by a step in the orchestration. | Boolean |
Multi-Select Picklist
Check whether a multi-select picklist resource’s value matches or contains another value or resource.
red; blue; green as a single value rather
than three separate values.| Operator | True If | Supported Data Types |
|---|---|---|
| Contains | The value for Resource contains what’s entered or selected for Value. When you use this operator for a multi-select picklist resource, be aware of the values that a user can enter. If you want to check that a specific value is included and that value is also included as part of another value, create an orchestration formula resource that uses the INCLUDES() function. For example, your org has a Color multi-select picklist value. Among the possible values are “green” and “yellow-green”. If both “green” and “yellow-green” are acceptable values, use the Contains operator in an orchestration condition. If only “green” is an acceptable value, create a formula that uses the INCLUDES() function. |
|
| Does Not Equal | The value for Resource doesn’t match what’s entered or selected for Value. Order matters. If you aren’t sure which order the values that you’re checking for appear in, use the INCLUDES() function in an orchestration formula. For example, if you compare “red; blue; green” to “blue; green; red” using the Does Not Equal operator, that condition resolves to true. |
|
| Equals | The value for Resource exactly matches what’s entered or selected for Value. Order
matters.
If you aren’t sure of the order that the values you’re checking for
appear, use the INCLUDES() function in an orchestration formula. For
example, if you compare “red; blue; green” to “blue; green; red” using the Equals operator,
that condition resolves to |
|
| Is Blank | The value for Resource is either not set or references no value. Use to determine whether a field or variable value is set to no value similar to Is Null. See Text. | Boolean |
| Is Null | The value for Resource is either not set or references no value. Use to determine whether a field or variable value is set to no value. | Boolean |
| Was Set | The value for Resource is a field in a record variable, and that field has been populated with a value at least one time in a flow called by a step in the orchestration. | Boolean |
Record
Check whether a record resource’s value matches another value or resource.
| Operator | True If | Supported Data Types |
|---|---|---|
| Does Not Equal | The value for Resource doesn’t match what’s entered or selected for Value. | Record with the same object type |
| Equals | The value for Resource matches what’s entered or selected for Value. | Record with the same object type |
| Is Blank | The value for Resource is either not set or references no value. Use to determine whether a field or variable value is set to no value similar to Is Null. See Text. | Boolean |
| Is Null | The value for Resource is either not set or references no value. Use to determine whether a field or variable value is set to no value. | Boolean |
Text
Check whether a Text resource’s value matches, contains, ends with, or starts with another value or resource.
| Operator | True If | Supported Data Types |
|---|---|---|
| Contains | The value for Resource contains what’s entered or selected for Value. |
|
| Does Not Equal | The value for Resource doesn’t match what’s entered or selected for Value. |
|
| Equals | The value for Resource matches what’s entered or selected for Value. |
|
| Ends With | The end of the value for Resource matches what’s entered or selected for Value. |
|
| Is Blank | The value for Resource is set to zero characters or only white space. Use to determine whether a field or variable value is set to zero characters or only white space. | Boolean |
| Is Null | The value for Resource is either not set or references no value. Use to determine whether a field or variable value is set to no value. | Boolean |
| Starts With | The beginning of the value for Resource matches what’s entered or selected for Value. |
|
| Was Set | The value for Resource is a field in a record variable, and that field has been populated with a value at least one time in a flow called by a step in the orchestration. | Boolean |

