(Text) Matches
The input value (text) should match the text you specify in the Expected field. The match action is not case sensitive.
Example:
Input: {{$a8.translated_text}} (let’s assume the value of this is ‘Hola’)
Condition: (Text) Matches
Expected: Hola
In this example, since the input matches the expected value, the workflow execution will proceed to the next action.
(Text) Exactly Matches
The input value (text) should strictly match the text you specify in the Expected field. This action is case sensitive.
Example:
Input: {{$a8.translated_text}} (let’s assume the value of this is hola)
Condition: (Text) Exactly Matches
Expected:
In this example, since input value (hola) does not exactly match the expected value (Hola), the workflow execution will be terminated.
(Text) Does Not Match
The input value (text) should not match the text specified in the Expected field. This action is not case sensitive.
Example:
Input: {{$a8.translated_text}} (let’s assume the value of this is hola)
Condition: (Text) Does Not Match
Expected: How are you
In this example, the input value does not match the expected value. Since the condition is met, the workflow execution will proceed to the next action.
(Text) Does Not Exactly Match
The input value (text) should not exactly match the text specified in the Expected field. This action is case sensitive.
Example:
Input: {{$a8.translated_text}}
(let’s assume the value of this is ‘hola’)
Condition: (Text) Does Not Exactly Match
Expected:
In this example, the input value and the expected value don’t match exactly. Since the condition is met, the workflow execution will proceed to the next action..
(Text) Contains
The input value (text) should contain the text specified in the Expected field. This action is case sensitive.
Example:
Input: {{$a8.translated_text}} (let’s assume the value of this is Hola como estas)
Condition: (Text) Contains
Expected:
When you run the workflow, it will first check 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 will proceed to the next action.
(Text) Does Not Contain
The input value should not contain the text specified in the Expected field. This action is case sensitive.
Example:
Input: {{$a8.translated_text}}
(let’s assume the value of this is Hola)
Condition: (Text) Does Not Contain
Expected: Workflow Test
In this example, the input value does not contain the expected value. Since the condition is met, the workflow execution will proceed to the next action.
(Text) Starts With
The input value (text) should start with text specified in the Expected field. This action is case sensitive.
Example:
Input: {{$a8.translated_text}} (let’s assume the value of this is Demo Workflow)
Condition: (Text) Starts With
Expected:
In this example, the input value starts with the expected value. Since the condition is met, the workflow execution will proceed to the next action.
(Text) Does Not Start With
The input value (text) should not start with text specified in the Expected field. This action is not case sensitive.
Example:
Input: {{$a8.translated_text}} (let’s assume the value of this is Demo Workflow)
Condition: (Text) Does Not Start With
Expected: demo
In this example, the input value starts with the expected value. Since the condition is not met, the workflow execution will be terminated.
(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}} (let’s assume the value of this is Demo Workflow)
Condition: (Text) Ends With
Expected: Workflow
In this example, the input value ends with the expected value. Since the condition is met, the workflow execution will proceed to the next action.
(Text) Does Not End With
The input value (text) should not end with the value specified in the Expected field. This action is not case sensitive.
Example:
Input: {{$a8.translated_text}} (let’s assume the value of this is Demo Workflow)
Condition: (Text) Does Not End With
Expected: Workflow
In this example, the input value ends with the expected value. Since the condition is not met, the workflow execution will be terminated.
(Text) Is Alphanumeric
The input value (text) should be an alphanumeric value. In this case, you don’t need to specify a value in the Expected field. To set it as isNotAlphanumeric, specify false in the Expected field.
Example:
Input: {{$a8.id}} (let’s assume the value of this is ABC1234)
Condition: (Text) Is Alphanumeric
In this example, the input value is alphanumeric. Since the condition is met, the workflow execution will proceed to the next action.
(Text) Is Empty
The input value (text) should be empty. In this case, you don’t need to specify a value in the Expected field. To set it as isNotEmpty, specify false in the Expected field.
Example:
Input: {{$a8.text}} (let’s assume the input value is empty)
Condition: (Text) Is Empty
In this example, the input value is empty. Since the condition is met, the workflow execution will proceed to the next action.
(Number) Equals
The input value (number) should be equal to the expected value (number).
Example:
Input: {{$a7.notebooks[0].updateSequenceNum}} (let’s assume the value of this is 1)
Condition: (Number) Equals
Expected:1
In this example, the input value is equal to the expected value. Since the condition is met, the workflow execution will proceed to the next action.
(Number) Not Equals
The input value (number) should not be equal to the expected value (number). Note that the input value should always be the output of the previous action, e.g., {{$a7.notebooks[0].updateSequenceNum}}.
Example:
Input: {{$a7.notebooks[0].updateSequenceNum}} (let’s assume the value of this is 1)
Condition: (Number) Equals
Expected: 2
In this example, the input value is not equal to expected value. Since the condition is met, the workflow execution will proceed to the next action.
(Number) Greater Than
The input value (number) should be greater than the expected value.
Example:
Input: {{$a7.notebooks[0].updateSequenceNum}} (let’s assume the value of this is 10)
Condition: (Number) Greater Than
Expected:
In this example, the input value is greater than the expected value. Since the condition is met, the workflow execution will proceed 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}} (let’s assume the value of this is 10)
Condition: (Number) Greater Than Equals
Expected: 10
In this example, the input value is equal to the expected value. Since the condition is met, the workflow execution will proceed to the next action.
(Number) Less Than
The input value (number) should be less than the expected value.
Input: {{$a7.notebooks[0].updateSequenceNum}}
(let’s assume the value of this is 10)
Condition: (Number) Less Than
Expected:
In this example, the input value is less than the expected value. Since the condition is met, the workflow execution will proceed 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}} (let’s assume the value of this is 10)
Condition: (Number) Less Than Equals
Expected: 10
In this example, the input value is equal to the expected value. Since the condition is met, the workflow execution will proceed 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}} (let’s assume the value of this is ‘-10’)
Condition: (Number) Is Negative
In this example, the input value is negative. Since the condition is met, the workflow execution will proceed 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}} (let’s assume the value of this is ‘10’)
Condition: (Number) Is Positive
In this example, the input value positive. Since the condition is met, the workflow execution will proceed to the next action.
(Date/Time) Equals
If 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}} (let’s assume the value of this is 2016-06-02)
Condition: (Date/Time) Equals
Expected: 2016-06-02
In this example, the input value is matches the expected value. Since the condition is met, the workflow execution will proceed 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}} (let’s assume the value of this 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. Since the condition is met, the workflow execution will proceed 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}}
(let’s assume the value of this 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. Since the condition is met, the workflow execution will proceed 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}} (let’s assume the value of this 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. Since the condition is met, the workflow execution will proceed to the next action.
(Date/Time) Greater Than Equals
The input value (date/time) should be a date/time after 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}} (let’s assume the value of this 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. Since the condition is met, the workflow execution will proceed 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}} (let’s assume the value of this 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. Since the condition is met, the workflow execution will proceed 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}} (let’s assume the value of this 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. Since the condition is met, the workflow execution will proceed 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}} (let’s assume the value of this 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. Since the condition is met, the workflow execution will proceed to the next action.
(Array) Length Less Than Equals
The length or size of the input value (array) should be less than or same as the length specified in the Expected field.
Example:
Input: {{$a23.output}} (let’s assume the value of this 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. Since the condition is met, the workflow execution will proceed 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. Note that the input value should always be the output of the previous action, e.g., {{$a23.output}}.
Example:
Input: {{$a23.output}}
(let’s assume the value of this is ‘[1,2,3,4]‘)
Condition: (Array) Length Greater Than
Expected: 3
When you run the workflow, it will first check if 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 will proceed 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}} (let’s assume the value of this 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. Since the condition is met, the workflow execution will proceed 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}} (let’s assume the value of this is [1,2,3,4])
Condition: (Array) Is Empty
In this example, the input array is not empty. Since the condition is not met, the workflow execution will be terminated.
(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}}
(let’s assume the value of this is an array that contains all objects)
Condition: (Array) Contains All Object
In this example, the input array contains all objects. Since the condition is met, the workflow execution will proceed 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}} (let’s assume the value of this is an array that contains all strings)
Condition: (Array) Contains All String
In this example, the input array contains strings only. Since the condition is met, the workflow execution will proceed 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}} (let’s assume the value of this is an array that contains all numbers)
Condition: (Array) Contains All Number
In this example, the input array contains numbers only. Since the condition is met, the workflow execution will proceed 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}} (let’s assume the value of this is an array)
Condition: (Array) Contains All Object And Has This Property
Expected: active
In this example, the input array contains objects as well as strings. Since the condition is not met, the workflow execution will be terminated.
(Object) Has Property
The input value (object) should contain the property (key) that you specify in the Expected field.
Example:
Input: {{$a14.labels}} (let’s assume the value of this is an object)
Condition: (Object) Has Property
Expected: hidden
In this example, the input object contains the property specified in the Expected field. Since the condition is met, the workflow execution will proceed 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}} (let’s assume the value of this is an object)
Condition: (Object) Does Not Have Property
Expected: name
In this example, the input object contains the property specified in the Expected field. Since the condition is not met, the workflow execution will be terminated.
(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}} (let’s assume the value of this object is empty)
Condition: (Object) Is Empty
In this example, the input is an empty object. Since the condition is met, the workflow execution will proceed to the next action.
(Regex) Match Pattern
The input value should match the regular expressions (regex) pattern specified in the Expected field.
Example:
Input: {{$a9.ownerNames}} (let’s assume the value of this is ABC abc XYZ xyz)
Condition: (Regex) Match Pattern
Expected: /abc/i
This action will search for ‘abc’ value in the input, irrespective of the casing, as the modifier ‘i’ denotes case-insensitive. Let’s understand the usage of regex special characters used in this example.
// - Finds any characters 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 will check if the {{$a9.ownerNames}} contains ‘abc’ (without considering case sensitivity). If it does, the workflow will proceed 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}} (let’s assume the value of this is true)
Condition: (Boolean) Is Value True
In this example, the input value is true. Since the condition is met, the workflow execution will proceed 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}} (let’s assume the value of this is false)
Condition: (Boolean) Is Value False
In this example, the input value is false. Since the condition is met, the workflow execution will proceed to the next action.
(Input) Exists
The input should have a valid value.
Example:
Input: {{$a18.objects[0].customer}} (let’s assume the value of this is 164)
Condition: (Input) Exists
In this example, the input value is valid. Since the condition is met, the workflow execution will proceed 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}} (let’s assume the value has no value)
Condition: (Input) Exist
In this example, the input value is invalid. Since the condition is met, the workflow execution will proceed 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}} (let’s assume the value returns null)
Condition: (Input) Is Null
In this example, the input value returns null. Since the condition is met, the workflow execution will proceed 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 Expected field. To set it as isNotString, specify false in the Expected field.
Example:
Input: {{$a18.objects[0].customer}} (let’s assume the value of this is a string)
Condition: (Input) Is String
In this example, the input value is a string. Since the condition is met, the workflow execution will proceed 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}} (let’s assume the value of this is a number)
Condition: (Input) Is Number
In this example, the input value is a number. Since the condition is met, the workflow execution will proceed 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}} (let’s assume the value of this is a date)
Condition: (Input) Is Date
In this example, the input value is a date. Since the condition is met, the workflow execution will proceed 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}} (let’s assume the value of the key is [1,2,3,4])
Condition: (Input) Is An Array
In this example, the input value is an array. Since the condition is met, the workflow execution will proceed 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}} (let’s assume the value of this is an object)
Condition: (Input) Is An Object
In this example, the input value is an object. Since the condition is met, the workflow execution will proceed to the next action.
(Input) Is Boolean
The input value should of 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}} (let’s assume the value of this is a boolean)
Condition: (Input) Is Boolean
In this example, the input value is boolean. Since the condition is met, the workflow execution will proceed to the next action.
(Input) Data Type Is
The input value should be of the data type that you specify in Expected (e.g., String, Object, Array).
Example:
Input: {{$a18.objects[0].customer}} (let’s assume the value of this is 10)
Condition: (Input) Data Type Is
Expected: String
In this example, the input value is not string. Since the condition is met, the workflow execution will be terminated.