Supported conditions
Explore the list of supported conditions.
(Text) Matches
The input value (text) should match the text that you specify in the Expected field. The match action is not case-sensitive.
Example
Input - {{$a8.translated_text}} (Assuming that the value is 'Hola')
Condition - (Text) Matches
Expected - Hola
In this example, as the input matches the expected value, the workflow run proceeds to the next action.
(Text) Exactly Matches
The input value (text) should strictly match the text that you specify in the Expected field. This action is case-sensitive.
Example
Input - {{$a8.translated_text}} (Assuming that the value is hola)
Condition - (Text) Exactly Matches
Expected - In this example, as the input value (hola) does not exactly match the expected value (Hola), the workflow run stops.
(Text) Does Not Match
The input value (text) should not match the text that is specified in the Expected field. This action is not case-sensitive.
Example
Input - {{$a8.translated_text}} (Assuming that the value is hola)
Condition - (Text) Does Not Match
Expected - How are you
In this example, the input value does not match the expected value. As the condition is met, the workflow run proceeds to the next action.
(Text) Does Not Exactly Match
The input value (text) should not exactly match the text that is specified in the Expected field. This action is case-sensitive.
Example
Input - {{$a8.translated_text}}
(Assuming that the value is 'hola')
Condition - (Text) Does Not Exactly Match
Expected - In this example, the input value and the expected value do not match exactly. As the condition is met, the workflow run proceeds to the next action.
(Text) Contains
The input value (text) should contain the text that is specified in the Expected field. This action is case-sensitive.
Example
Input - {{$a8.translated_text}} (Assuming that the value is Hola como estas)
Condition - (Text) Contains
Expected - When you run the workflow, it first checks if the value of {{$a8.translated_text}} (which is Hola como estas) contains the expected value (which is Hola). If the defined condition is met, the workflow proceeds to the next action.
(Text) Does Not Contain
The input value should not contain the text that is specified in the Expected field. This action is case-sensitive.
Example
Input - {{$a8.translated_text}}
(Assuming that the value is Hola)
Condition - (Text) Does Not Contain
Expected - Workflow Test
In this example, the input value does not contain the expected value. As the condition is met, the workflow run proceeds to the next action.
(Text) Starts With
The input value (text) should start with text that is specified in the Expected field. This action is case-sensitive.
Example
Input - {{$a8.translated_text}} (Assuming that the value is Demo Workflow)
Condition - (Text) Starts With
Expected - In this example, the input value starts with the expected value. As the condition is met, the workflow run proceeds to the next action.
(Text) Does Not Start With
The input value (text) should not start with text that is specified in the Expected field. This action is not case-sensitive.
Example
Input - {{$a8.translated_text}} (Assuming that the value is Demo Workflow)
Condition - (Text) Does Not Start With
Expected - demo
In this example, the input value starts with the expected value. As the condition is not met, the workflow run stops.
(Text) Ends With
The input value (text) should end with the text that is specified in the Expected field. This action is case-sensitive.
Example
Input - {{$a8.translated_text}} (Assuming that the value is Demo Workflow)
Condition - (Text) Ends With
Expected - Workflow
In this example, the input value ends with the expected value. As the condition is met, the workflow run proceeds to the next action.
(Text) Does Not End With
The input value (text) should not end with the value that is specified in the Expected field. This action is not case-sensitive.
Example
Input - {{$a8.translated_text}} (Assuming that the value is Demo Workflow)
Condition - (Text) Does Not End With
Expected - Workflow
In this example, the input value ends with the expected value. As the condition is not met, the workflow run stops.
(Text) Is Alphanumeric
The input value (text) should be an alphanumeric value. In this case, you do not need to specify a value in the Expected field. To set it as isNotAlphanumeric, specify false in the Expected field.
Example
Input - {{$a8.id}} (Assuming that the value is ABC1234)
Condition - (Text) Is Alphanumeric
In this example, the input value is alphanumeric. As the condition is met, the workflow run proceeds to the next action.
(Text) Is Empty
The input value (text) should be empty. In this case, you do not need to specify a value in the Expected field. To set it as isNotEmpty, specify false in the Expected field.
Example
Input - {{$a8.text}} (Assuming that the input value is empty)
Condition - (Text) Is Empty
In this example, the input value is empty. As the condition is met, the workflow run proceeds to the next action.
-
(Number) Equals
The input value (number) should be equal to the expected value (number).
Example
Input - {{$a7.notebooks[0].updateSequenceNum}} (Assuming that the value is 1)
Condition - (Number) Equals
Expected -1
In this example, the input value is equal to the expected value. As the condition is met, the workflow run proceeds to the next action.
(Number) Not Equals
The input value (number) should not be equal to the expected value (number). The input value should always be the output of the previous action, for example, {{$a7.notebooks[0].updateSequenceNum}}.
Example
Input - {{$a7.notebooks[0].updateSequenceNum}} (Assuming that the value is 1)
Condition - (Number) Equals
Expected - 2
In this example, the input value is not equal to the expected value. As the condition is met, the workflow run proceeds to the next action.
(Number) Greater Than
The input value (number) should be greater than the expected value.
Example
Input - {{$a7.notebooks[0].updateSequenceNum}} (Assuming that the value is 10)
Condition - (Number) Greater Than
Expected - In this example, the input value is greater than the expected value. As the condition is met, the workflow run proceeds to the next action.
(Number) Greater Than Equals
The input value (number) should either be greater than or equal to the expected value.
Example
Input - {{$a7.notebooks[0].updateSequenceNum}} (Assuming that the value is 10)
Condition - (Number) Greater Than Equals
Expected - 10
In this example, the input value is equal to the expected value. As the condition is met, the workflow run proceeds to the next action.
(Number) Less Than
The input value (number) should be less than the expected value.
Input - {{$a7.notebooks[0].updateSequenceNum}}
(Assuming that the value is 10)
Condition - (Number) Less Than
Expected - In this example, the input value is less than the expected value. As the condition is met, the workflow run proceeds to the next action.
(Number) Less Than Equals
The input value (number) should be less than or equal to the expected value.
Input - {{$a7.notebooks[0].updateSequenceNum}} (Assuming that the value is 10)
Condition - (Number) Less Than Equals
Expected - 10
In this example, the input value is equal to the expected value. As the condition is met, the workflow run proceeds to the next action.
(Number) Is Negative
The input value should be negative. In this case, you need not specify any value in Expected.
Example
Input - {{$a7.notebooks[0].updateSequenceNum}} (Assuming that the value is '-10')
Condition - (Number) Is Negative
In this example, the input value is negative. As the condition is met, the workflow run proceeds to the next action.
(Number) Is Positive
The input value should be positive. In this case, you need not specify any value in the Expected field.
Example
Input - {{$a7.notebooks[0].updateSequenceNum}} (Assuming that the value is 10)
Condition - (Number) Is Positive
In this example, the input value is positive. As the condition is met, the workflow run proceeds to the next action.
(Date/Time) Equals
The input value (date/time) should be the same as the date/time specified in the Expected field. The date/time that you specify in the Expected field should be in MM-DD-YYYY or YYYY-MM-DD format.
Example
Input - {{$a18.objects[0].date}} (Assuming that the value is 2016-06-02)
Condition - (Date/Time) Equals
Expected - 2016-06-02
In this example, the input value matches the expected value. As the condition is met, the workflow run proceeds to the next action.
(Date/Time) Less Than
The input value (date/time) should be a date/time before the value specified in Expected. The date/time that you specify in the Expected field should be in MM-DD-YY or YYYY-MM-DD format.
Example
Input - {{$a18.objects[0].date}} (Assuming that the value is 2016-06-02)
Condition - (Date/Time) Less Than
Expected - 2016-06-03
In this example, the date/time in the Input field is before the date/time in the Expected field. As the condition is met, the workflow run proceeds to the next action.
(Date/Time) Less Than Equals
The input value (date/time) should be a date/time before or the same as the value specified in Expected. The date/time that you specify in the Expected field should be in MM-DD-YY or YYYY-MM-DD format.
Example
Input - {{$a18.objects[0].date}}
(Assuming that the value is 2016-06-02)
Condition - (Date/Time) Less Than Equals
Expected - 2016-06-02
In this example, the date in the Input field is equal to the date in the Expected field. As the condition is met, the workflow run proceeds to the next action.
(Date/Time) Greater Than
The input value (date/time) should be a date/time after the value specified in Expected. The date/time that you specify in the Expected field should be in MM-DD-YY or YYYY-MM-DD format.
Example
Input - {{$a18.objects[0].date}} (Assuming that the value is 2016-06-02)
Condition - (Date/Time) Greater Than
Expected - 2016-06-01
In this example, the input date is greater than the expected date. As the condition is met, the workflow run proceeds to the next action.
(Date/Time) Greater Than Equals
The input value (date/time) should be a date/time after, or same as the value specified in Expected. The date/time that you specify in the Expected field should be in MM-DD-YY or YYYY-MM-DD format.
Example
Input - {{$a18.objects[0].date}} (Assuming that the value is 2016-06-02)
Condition - (Date/Time) Greater Than Equals
Expected - 2016-06-01
In this example, the input date is greater than the expected value. As the condition is met, the workflow run proceeds to the next action.
(Array) Length Equals
The length or size of the input value (array) should be equal to the length specified in the Expected field.
Example
Input - {{$a23.output}} (Assuming that the value is [1,2,3,4])
Condition - (Array) Length Equals
Expected - 4
In this example, the length of the input array is equal to the expected value. As the condition is met, the workflow run proceeds to the next action.
(Array) Length Does Not Equals
The length or size of the input value (array) should not be equal to the length specified in the Expected field.
Example
Input - {{$a23.output}} (Assuming that the value is [1,2,3,4])
Condition - (Array) Length Does Not Equals
Expected - 5
In this example, the length of the input array is not equal to the expected value. As the condition is met, the workflow run proceeds to the next action.
(Array) Length Less Than
The length or size of the input value (array) should be less than the length specified in the Expected field.
Input - {{$a23.output}} (Assuming that the value is [1,2,3,4])
Condition - (Array) Length Less Than
Expected - 5
In this example, the length of the input array is less than the expected value. As the condition is met, the workflow run proceeds to the next action.
(Array) Length Less Than Equals
The length or size of the input value (array) should be less than or the same as the length specified in the Expected field.
Example
Input - {{$a23.output}} (Assuming that the value is [1,2,3,4])
Condition - (Array) Length Less Than Equals
Expected - 4
In this example, the length of the input array is equal to the expected value. As the condition is met, the workflow execution proceeds to the next action.
(Array) Length Greater Than
The length or size of the input value (array) should be greater than the length specified in the Expected field. The input value should always be the output of the previous action, for example, {{$a23.output}}.
Example
Input - {{$a23.output}}
(Assuming that the value is [1,2,3,4])
Condition - (Array) Length Greater Than
Expected - 3
When you run the workflow, it checks whether the length of {{$a23.output}} (which is [1,2,3,4]), is greater than the expected value (which is 3). If the defined condition is met, the workflow proceeds to the next action.
(Array) Length Greater than Equals
The length or size of the input value (array) should be greater than or equal to the length specified in the Expected field.
Input - {{$a23.output}} (Assuming that the value is [1,2,3,4])
Condition - (Array) Length Greater Than Equals
Expected - 4
In this example, the length of the input array is equal to the expected value. As the condition is met, the workflow run proceeds to the next action.
(Array) Is Empty
The input value should be an array that is empty. In this case, you need not specify a value in the Expected field. To set it as isNotEmpty, specify false in the Expected field.
Example
Input - {{$a23.output}} (Assuming that the value is [1,2,3,4])
Condition - (Array) Is Empty
In this example, the input array is not empty. As the condition is not met, the workflow run stops.
(Array) Contains All Object
The input value (array) should contain all object values. In this case, you need not specify a value in the Expected field.
Example
Input - {{$a18.objects}} (Assuming that the value is an array that contains all objects)
Condition - (Array) Contains All Object
In this example, the input array contains all objects. As the condition is met, the workflow run proceeds to the next action.
(Array) Contains All String
The input value (array) should contain all string values. In this case, you need not specify a value in the Expected field.
Example
Input - {{$a9.parents}} (Assuming that the value is an array that contains all strings)
Condition - (Array) Contains All String
In this example, the input array contains strings only. As the condition is met, the workflow run proceeds to the next action.
(Array) Contains All Number
The input value (array) should contain all numbers. In this case, you need not specify a value in the Expected field.
Example
Input - {{$a23.output}} (Assuming that the value is an array that contains all numbers)
Condition - (Array) Contains All Number
In this example, the input array contains only numbers. As the condition is met, the workflow run proceeds to the next action.
(Array) Contains All Object And Has This Property
The input field should contain all objects and should contain the property (key) that you specify in the Expected field.
Example
Input - {{$a18.objects}} (Assuming that the value is an array)
Condition - (Array) Contains All Object And Has This Property
Expected - active
In this example, the input array contains objects and strings. As the condition is not met, the workflow run stops.
(Object) Has Property
The input value (object) should contain the property (key) that you specify in the Expected field.
Example
Input - {{$a14.labels}} (Assuming that the value is an object)
Condition - (Object) Has Property
Expected - hidden
In this example, the input object contains the property that is specified in the Expected field. As the condition is met, the workflow run proceeds to the next action.
(Object) Does Not Have Property
The input value (object) should not contain the property (key) that you specify in the Expected field.
Example
Input - {{$a14.labels}} (Assuming that the value is an object)
Condition - (Object) Does Not Have Property
Expected - name
In this example, the input object contains the property that is specified in the Expected field. As the condition is not met, the workflow run stops.
(Object) Is Empty
The input value (object) should be an object that is empty. In this case, you need not specify a value in Expected. To set it as isNotEmpty, specify false in the Expected field.
Example
Input - {{$a7.notebooks[0].restrictions}} (Assuming that the value of this object is empty)
Condition - (Object) Is Empty
In this example, the input is an empty object. As the condition is met, the workflow run proceeds to the next action.
(Regex) Match Pattern
The input value should match the regular expressions (regex) pattern that is specified in the Expected field.
Example
Input - {{$a9.ownerNames}} (Assuming that the value is ABC abc XYZ xyz)
Condition - (Regex) Match Pattern
Expected - /abc/i
This action searches for the abc value in the input, irrespective of the casing, as the modifier i denotes case-insensitive.
Understand the usage of regex special characters used in this example.
// - Finds any characters that are specified between the slashes.
abc - Denotes the name of the owner (in this example).
Modifier i - i is a modifier that makes the search case-insensitive.
When you run the workflow, it checks whether the {{$a9.ownerNames}} contains abc (without considering case sensitivity). If it does, the workflow proceeds to the next action.
(Boolean) Is Value True
The input value (Boolean) should be true. In this case, you need not specify a value in the Expected field.
Example
Input - {{$a18.objects[0].active}} (Assuming that the value is true)
Condition - (Boolean) Is Value True
In this example, the input value is true. As the condition is met, the workflow run proceeds to the next action.
(Boolean) Is Value False
The input value (Boolean) should be false. In this case, you need not specify a value in the Expected field.
Example
Input - {{$a18.objects[0].confirmed}} (Assuming that the value is false)
Condition - (Boolean) Is Value False
In this example, the input value is false. As the condition is met, the workflow run proceeds to the next action.
(Input) Exists
The input should have a valid value.
Example
Input - {{$a18.objects[0].customer}} (Assuming that the value is 164)
Condition - (Input) Exists
In this example, the input value is valid. As the condition is met, the workflow run proceeds to the next action.
(Input) Does Not Exist
The input does not exist if there are no fields or properties as value.
Example
Input - {{$a18.meta.next}} (Assuming that the value has no value)
Condition - (Input) Exist
In this example, the input value is invalid. As the condition is met, the workflow run proceeds to the next action.
(Input) Is Null
The input value should be null. In this case, you need not specify a value in the Expected field. To set it as isNotNull, specify false in the Expected field.
Example
Input - {{$a7.notebooks[0].sharedNotebooks}} (Assuming the value returns null)
Condition - (Input) Is Null
In this example, the input value returns null. As the condition is met, the workflow run proceeds to the next action.
(Input) Is String
The input value should be of String data type. In this case, you need not specify a value in the Expected field. To set it as isNotString, specify false in the Expected field.
Example
Input - {{$a18.objects[0].customer}} (Assuming that the value is a string)
Condition - (Input) Is String
In this example, the input value is a string. As the condition is met, the workflow run proceeds to the next action.
(Input) Is Number
The input value should be of Number data type. In this case, you need not specify a value in the Expected field. To set it as isNotNumber, specify false in the Expected field.
Example
Input - {{$a7.notebooks[0].serviceUpdated}} (Assuming that the value is a number)
Condition - (Input) Is Number
In this example, the input value is a number. As the condition is met, the workflow run proceeds to the next action.
(Input) Is Date
The input value should be a date in YYYY-MM-DD format. In this case, you need not specify a value in the Expected field. To set it as isNotDate, specify false in the Expected field.
Example
Input - {{$a18.objects[0].updated_date}} (Assuming that the value is a date)
Condition - (Input) Is Date
In this example, the input value is a date. As the condition is met, the workflow run proceeds to the next action.
(Input) Is An Array
The input value should be of Array data type. In this case, you need not specify a value in the Expected field. To set it as isNotArray, specify false in the Expected field.
Example
Input - {{$a18.objects}} (Assuming that the value of the key is [1,2,3,4])
Condition - (Input) Is An Array
In this example, the input value is an array. As the condition is met, the workflow run proceeds to the next action.
(Input) Is An Object
The input value should be of Object data type. In this case, you need not specify a value in Expected. To set it as isNotObject, specify false in Expected.
Example
Input - {{$a7.notebooks[0].restrictions}} (Assuming that the value is an object)
Condition - (Input) Is An Object
In this example, the input value is an object. As the condition is met, the workflow run proceeds to the next action.
(Input) Is Boolean
The input value should have a Boolean data type. In this case, you need not specify a value in the Expected field. To set it as isNotBoolean, specify false in the Expected field.
Example
Input - {{$a18.objects[0].active}} (Assuming that the value is a Boolean)
Condition - (Input) Is Boolean
In this example, the input value is Boolean. As the condition is met, the workflow run proceeds to the next action.
(Input) Data Type Is
The input value should be of the data type that you specify in Expected, for example, String, Object, Array.
Example
Input - {{$a18.objects[0].customer}} (Assuming that the value is 10)
Condition - (Input) Data Type Is
Expected - String
In this example, the input value is not a string. As the condition is met, the workflow run stops.