Comparison
When configuring notification conditions, you may use the following method to compare property value and target value. The property value is comprised of the data located by Source
and Property
. The target value is the value you have entered into the Target
field.
Comparison | Description |
---|---|
is any value | The property value is equal to any value. |
value has changed | The string representation of the property value has changed, comparing with the property value from the last task execution. |
equals (string) | A string comparison of the property value and target value. Non-string values are cast to a string before comparing. The check is case sensitive. |
not equal to (string) | A string comparison of the property value and target value. Non-string values are cast to a string before comparing. The check is case sensitive. |
contains (string) | The property value contains the target value as a substring. Non-string values are cast to a string before comparing. The check is case sensitive. |
not contain (string) | The target value is not found in the property value. Non-string values are cast to a string before comparing. The check is case sensitive. |
equals (number) | The property value is (or can be cast to) a number equal to the target value. |
not equal to (number) | The property value is (or can be cast to) a number not equal to the target value. |
greater than (number) | The property value is (or can be cast to) a number greater than the target value. |
greater than or equal to (number) | The property value is (or can be cast to) a number greater than or equal to the target value. |
less than (number) | The property value is (or can be cast to) a number less than the target value. |
less than or equal to (number) | The property value is (or can be cast to) a number less than or equal to the target value. |
has key | The JSON property evaluates to a dictionary and contains the target value as a dictionary key. Source must be Response Body (JSON). The check is case sensitive. |
has value | The JSON property evaluates to a list or dictionary, and contains the target value as a list value or dictionary value. Source must be Response Body (JSON). The check is case sensitive. |
is true | The JSON property evaluates to true. Source must be Response Body (JSON). |
is false | The JSON property evaluates to false. Source must be Response Body (JSON). |
is null | The property value is null. |
is not null | The property value is not null. |